convert curl to http request with authorization header

[ad_1]

curl authorization header
curl -H "Authorization: token_str" http://www.example.com
convert curl to http request with authorization header
curl -u miguel:python -i -X GET http://127.0.0.1:5000/api/token
convert curl to http request with authorization header
curl -v -X PUT -H "content-type:application/json" \ -d '{"data":"credentials":"724ff9afaaded5b0419b6956da2f2b03","account_name":"sip2"}}' \ https://sipapi2.vsit.com.vn/v2/user_auth | python -mjson.tool

[ad_2]

Please follow and like us:
Content Protection by DMCA.com