Skip to content

Instantly share code, notes, and snippets.

@n0an
Created April 27, 2017 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n0an/810074c4aa9a71151e30ec50c87b0568 to your computer and use it in GitHub Desktop.
Save n0an/810074c4aa9a71151e30ec50c87b0568 to your computer and use it in GitHub Desktop.
- CONVERT TOKEN:
http://192.168.131.128:8000/api/social/convert-token/
PARAMS:
grant_type: convert_token
client_id: FROM DJANGO ADMIN APPLICATIONS
client_secret: FROM DJANGO ADMIN APPLICATIONS
backend: facebook
token: FROM FACEBOOK
- REVOKE TOKEN:
http://192.168.131.128:8000/api/social/revoke-token/
PARAMS:
client_id: FROM DJANGO ADMIN APPLICATIONS
client_secret: FROM DJANGO ADMIN APPLICATIONS
token: FROM DJANGO ADMIN TOKEN
- GET RESTAURANTS:
http://localhost:8000/api/customer/restaurants/
PARAMS:
- GET MEALS FOR RESTAURANT WITH ID=1:
localhost:8000/api/customer/meals/1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment