http - Can not send curl request. Authorization has been denied for this request -


i sent request postman basic authorization , 1 custom header - token. need sent same request using curl. how postman parameters like:

enter image description here

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