ImageUpload method
This method is for internal use only and is not supported.
Feng-GUI reserves the right to change this method at any time.
Credit: one credit is charged for a successful execution.
To analyze images, use the
ImageAttention method.
Upload the image to Your server and set the InputImage parameter as the URL path of the image.
Request
POST /soap/api.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.feng-gui.com/ImageUpload"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ImageUpload xmlns="http://www.feng-gui.com/">
<FileName>string</FileName>
<FileData>base64Binary</FileData>
</ImageUpload>
</soap:Body>
</soap:Envelope>
Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ImageUploadResponse xmlns="http://www.feng-gui.com/">
<ImageUploadResult>string</ImageUploadResult>
</ImageUploadResponse>
</soap:Body>
</soap:Envelope>