Page 1 of 1
POST request from curl example
Posted: Sat Oct 31, 2020 2:19 am
by madmouser1
Hi all,
Please assist, what is the correct fetch command in 6.47.4 for the following Curl command
curl -i -XPOST 'http://192.168.aa.bb:8086/write?db=lte' --data-binary 'rssi,device=lte value=-50'
Many thanks
Re: POST request from curl example
Posted: Mon Nov 02, 2020 11:29 am
by madmouser1
Hi all, just an update
/tool fetch http-method=post http-data="rssi,device=lte value=-60" url="http://192.168.aa.bb:8086/write\3Fdb=LTE"
Is working, however the "--data-binary" is not explicitly set yet.
Please note the
? as
\3F
Re: POST request from curl example
Posted: Mon Nov 02, 2020 2:26 pm
by SiB
better is report RSRP, SINR, CQI
Re: POST request from curl example
Posted: Sat Oct 22, 2022 3:59 am
by IgorOV
I would like someone to help converting curl command for me, like above
thanks in advance
curl -d "{\"number\":\"112233445566778899\",\"message\":\"text here\"}" -H "Authorization:token_id" -H "Content-Type:application/json" -X POST https://site_teste.com