When to Use POST

HTTP POST requests are designed to send data over the web. This is the type of request that is used after filling an HTML form or when uploading a file. The advantage of this type of request is that it can send large amounts of data while keeping the URL short and simple. However, if the URL is copied, all data is lost.

When requesting raw (JSON) reports, which are meant for further local processing, POST requests are the preferred request method. This is because it is the method that is designed for long data request, and is cleaner and easier to understand. Therefore, if you are building a desktop application or writing a script in which your code (and not a browser) will be handling the request mechanism, it is recommended to use POST whenever possible.