i sent request postman basic authorization , 1 custom header - token. need sent same request using curl. how postman parameters like:
and curl command:
curl -k -u my@mail.com:1qwer432 -h "cerequesttoken: 46yx2fo4t5+p1ix" https://mysite/v54/api/contracts
what doing wrong?
i found solution. problem curl not save cookies. , it's necessary send cookies request.
Comments
Post a Comment