Skip to content

Instantly share code, notes, and snippets.

@ozgurrgul
Created October 24, 2017 07:11
Show Gist options
  • Save ozgurrgul/68f7729b5500172545ea58732acd617f to your computer and use it in GitHub Desktop.
Save ozgurrgul/68f7729b5500172545ea58732acd617f to your computer and use it in GitHub Desktop.
curl -X GET \
http://localhost:5000/Account/Protected \
-H 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtZUBvemd1ci5kayIsImp0aSI6ImMwMTgxMmQ4LTI3MjktNGJhYS04YWQwLTk1ZTI4YjgzNzc1NCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWVpZGVudGlmaWVyIjoiZDc2MTRiNzEtN2MyOS00OTk3LTlmODUtNDNkYzlmMDI2NzZlIiwiZXhwIjoxNTExNDIwNTQ3LCJpc3MiOiJodHRwOi8veW91cmRvbWFpbi5jb20iLCJhdWQiOiJodHRwOi8veW91cmRvbWFpbi5jb20ifQ.v8YLTMTUraD7KqoHTskvcg9X_zH5WdWkcpGuHHeqYKM' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment