rstify-ask
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "rstify-ask", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Hit apis easyly", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -83,15 +83,16 @@ Restify | ||
# Static Methods | ||
request(config): Make a generic HTTP request. | ||
get(url, config): Make a GET request. | ||
delete(url, config): Make a DELETE request. | ||
head(url, config): Make a HEAD request. | ||
options(url, config): Make an OPTIONS request. | ||
post(url, data, config): Make a POST request with JSON data. | ||
put(url, data, config): Make a PUT request with JSON data. | ||
patch(url, data, config): Make a PATCH request with JSON data. | ||
postForm(url, data, config): Make a POST request with form data. | ||
putForm(url, data, config): Make a PUT request with form data. | ||
patchForm(url, data, config): Make a PATCH request with form data. | ||
withAuthorization(authorizationToken): Create a new instance with dynamic authorization token. | ||
### Static Methods | ||
##### request(config): Make a generic HTTP request. | ||
##### get(url, config): Make a GET request. | ||
##### delete(url, config): Make a DELETE request. | ||
##### head(url, config): Make a HEAD request. | ||
##### options(url, config): Make an OPTIONS request. | ||
##### post(url, data, config): Make a POST request with JSON data. | ||
##### put(url, data, config): Make a PUT request with JSON data. | ||
##### patch(url, data, config): Make a PATCH request with JSON data. | ||
##### postForm(url, data, config): Make a POST request with form data. | ||
##### putForm(url, data, config): Make a PUT request with form data. | ||
##### putForm(url, data, config): Make a PUT request with form data. | ||
##### patchForm(url, data, config): Make a PATCH request with form data. | ||
##### withAuthorization(authorizationToken): Create a new instance with dynamic authorization token. | ||
@@ -98,0 +99,0 @@ |
44087
140