Using multipart file upload with webread

15 ビュー (過去 30 日間)
Henrik Pedersen
Henrik Pedersen 2019 年 12 月 17 日
編集済み: Henrik Pedersen 2019 年 12 月 17 日
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?

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Web Services from MATLAB Using HTTP についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by