File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,19 +33,25 @@ echo json_encode($response, JSON_PRETTY_PRINT);
3333## Client Functions
3434
3535## get($route, $params = array(), $headers = array())
36- cURL Get Request
36+ Sends a HTTP GET Request to the route provided.
3737
3838## post($route, $params = array(), $headers = array())
39- cURL Post Request
39+ Sends a HTTP POST Request to the route provided.
4040
4141## put($route, $params = array(), $headers = array())
42- cURL Put Request
42+ Sends a HTTP PUT Request to the route provided.
4343
4444## delete($route, $params = array(), $headers = array())
45- cURL Delete Request
45+ Sends a HTTP DELETE Request to the route provided.
46+
47+ ## getRequestInfo()
48+ Returns the result of ` curl_getinfo() ` on the last request made as an array.
4649
4750## setAPIBaseURL($url)
4851Allows over-riding the base URL (only really needed for development)
4952
5053## setAPIVersion($version)
5154Allows over-riding of the API version. Might be useful in future?
55+
56+
57+
You can’t perform that action at this time.
0 commit comments