Posted under » AWS on 07 Feb 2020
This article is about API in general and not just AWS. It could also apply to Django REST framework
The most basic interaction you can do is GET, POST, PUT and DELETE.
You can also PATCH, COPY, HEAD, OPTIONS, LINK, UNLINK, PURGE, LOCK, VIEW and so on.
There are several authentication method or none at all. They are API key, Bearer Token, Basic Auth, Digest Auth, OAuth 1.0, OAuth 2.0, Hawk, NTLM and Akamai etc.
When you GET, you can use Parameters. Eg key is taik
https://1qohje.execute-api.ap-southeast-1.amazonaws.com/stage1?taik=ba
When you POST, you normally post the keys in JSON format on the body of the payload. An example of JSON format is
{ "Token": "4" }