Using multipart file upload with webread

15 visualizaciones (últimos 30 días)
Henrik Pedersen
Henrik Pedersen el 17 de Dic. de 2019
Editada: Henrik Pedersen el 17 de Dic. de 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?

Respuestas (0)

Categorías

Más información sobre Call Web Services from MATLAB Using HTTP en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by