Add Support for JSON POST requests

Wanted a way to send a JSON POST request to the render API.

I've done some brief tests with different types of metrics and functions and they passed but haven't done a unit test to ensure all functions work with this change but it should be safe enough.