Заголовок авторизации
curl -H "Authorization: token_str" http://www.example.com
saggiyogesh
curl -H "Authorization: token_str" http://www.example.com
curl -u miguel:python -i -X GET http://127.0.0.1:5000/api/token
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