Docs Ali Pix /openapi/v2/image/upload
API reference

Upload pictures

multipart upload.

POST/openapi/v2/image/upload

Body Parameters

image* string · binary

Image URL or Base64

Responses

200 success application/json
response-200 object
400 Bad request or validation failed application/json
response-400 object
properties
error* object
401 Missing or invalid API Key application/json
response-401 object
Request Body Example
1{
2"image": "<binary>"
3}
Code Sample cURL
1curl -X POST "https://api.digislash.com/openapi/v2/image/upload" \
2-H "Authorization: Bearer <API Key>" \
3-F "image=@<binary>"
Response
1▼{
2"ErrCode": 0,
3"ErrMsg": "success",
4▼"RespData": {
5"id": 123456
6}
7}