API: Download image from a server
Downloads and imports an image from another server.
Request
POST /process/download?url=https://...
| url | The URL. Note that this must be URI-encoded (e.g. using encodeURIComponent, urllib.parse.quote_plus, or similar). |
Response
200 OK
{
"responseCode": [487, 223, 1076, 672],
"output": "a1b002.."
}
| responseCode | The HTTP response code of the server. The image is imported only if the server responded with code 200 (OK, success). |
| output | The downloaded and imported image. |