endpoints
# Metadata
2022-06-15 04:10 | endpoints | Doriel Rivalet
# Content
- require coro-http and json
- create function according to the doc’s endpoint type (GET, POST, PATCH, etc)
- declare the request and response variables and assign the http request function to them
- (optional) send token/cookie as the function arg if required
- coroutine.wrap the function without args
- run the function with args
# Sources
Own notes
# Content Lists
If you prefer browsing the contents of this site through a list instead of a graph, you can find content lists here too: