Skip to content

Commit 551bc7b

Browse files
committed
Minor update to README.md surrounding client functions.
1 parent 97f20c1 commit 551bc7b

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff 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)
4851
Allows over-riding the base URL (only really needed for development)
4952

5053
## setAPIVersion($version)
5154
Allows over-riding of the API version. Might be useful in future?
55+
56+
57+

0 commit comments

Comments
 (0)