Patent Data Search

P010 Image Search Get Image Url

Obtain the url accessible to the public network by uploading an image.

post/image-search/image-upload

Request

Request body multipart/form-data

imagestring required

JPG,PNG

Example request

{
  "image": "maximum 4096KB"
}

Response

Successful p010 image search get image url response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "url": "https://img1.baidu.com/it/u=3787347995,722716643&fm=26&fmt=auto",
    "expire": 32400
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.