API: Download image from a server
Downloads and imports an image from another server.
Request
POST /process/download?url=https%3A%2F%2F...
url | The URL. Note that this must be URI-encoded (e.g. using encodeURIComponent, urllib.parse.quote_plus, or similar). |
Response
200 OK
{ "output": "a1b002..", "responseCode": [487, 223, 1076, 672] }
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. |