필터 지우기
필터 지우기

http request post with body

조회 수: 1 (최근 30일)
Willy Bernal
Willy Bernal 2018년 11월 26일
I am using Matlab 2010b to send an http post request to a website. I need to pass headers and also the body. The following command would work in curl
## read damper
curl -X "POST" "10.100.77.28/api/read" \
-H 'Accept: application/json' \
-H 'Content-Type: text/zinc' \
-d $'ver:"2.0"
filter,limit
"id==@69c0bd3f-7a5d-4e39-b505-cbd42ef6f41d",1000
'
How would I do this using urlread? I understand how to pass the headers but not how to pass the body. I am using an old version of matlab compatible with other legacy software.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

제품


릴리스

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by