Using multipart file upload with webread

16 Ansichten (letzte 30 Tage)
Henrik Pedersen
Henrik Pedersen am 17 Dez. 2019
Bearbeitet: Henrik Pedersen am 17 Dez. 2019
I am trying to upload an image to an API service using this cURL:
curl -X POST \
https://api.platerecognizer.com/v1/plate-reader/ \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Authorization: Token 9a3axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx96aaf' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Length: 174169' \
-H 'Content-Type: multipart/form-data; boundary=--------------------------453052928080780081043918' \
-H 'Host: api.platerecognizer.com' \
-H 'Postman-Token: d154bc62-62cb-4374-8770-6f486764e967,0965562d-3723-4716-8e70-bbfa12277a21' \
-H 'User-Agent: PostmanRuntime/7.20.1' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F upload=@/C:/Users/Henrik/Desktop/plate.jpg
Any suggestions how to do this in MatLab?

Antworten (0)

Kategorien

Mehr zu Call Web Services from MATLAB Using HTTP finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by