Advertisement
Guest User

Untitled

a guest
Apr 10th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. curl 'http://svuat.azurewebsites.net/api/auth/token' -H 'Origin: http://localhost:8001' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:8001/' -H 'Connection: keep-alive' --data 'client_id=website&username=sola_93%40mail.ru&password=asdf&grant_type=password' --compressed -vvv
  2.  
  3.  
  4. curl 'http://svuat.azurewebsites.net/api/auth/token' -X OPTIONS -H 'Access-Control-Request-Method: POST' -H 'Origin: http://localhost:4200' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36' -H 'Accept: */*' -H 'Referer: http://localhost:4200/login' -H 'Connection: keep-alive' -H 'Access-Control-Request-Headers: content-type' --compressed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement