The RequestModel containing the URL and parameters for the GET request.
A Promise that resolves to a ResponseModel containing the response data.
Sends a POST request to the server.
The RequestModel containing the URL, headers, and body of the POST request.
A Promise that resolves to a ResponseModel containing the response data.
Sends a GET request to the server.