Utility Description
Create boilerplate functions for sending HTTP requests (e.g. GET, POST, etc...) and returning the responses from the queried API endpoints.
Describe the solution you'd like
The functions will take a bunch of kwargs:
url The endpoint URL
method HTTP method
body the request body.
headers the request headers.
etc...
Describe alternatives you've considered
This is an initial solution. It will be edited and enhanced when implementing the utility.
Utility Description Create boilerplate functions for sending HTTP requests (e.g. GET, POST, etc...) and returning the responses from the queried API endpoints.
Describe the solution you'd like The functions will take a bunch of kwargs:
url
The endpoint URLmethod
HTTP methodbody
the request body.headers
the request headers.Describe alternatives you've considered This is an initial solution. It will be edited and enhanced when implementing the utility.
Additional context Simple Python API client Building an API wrapper