Convenience function for making POST requests to the API.
Your API key.
The endpoint URL.
Data to post.
The fetch response.
Convenience function for making POST requests to the API.