1.2.0 • Published 5 months ago
qansigliere-axios-utils v1.2.0
Qansigliere Axios Utils
This library is based on Javascript and it will contain some functions to make Rest API requests (GET / POST / PUT / PATCH / DELETE)
Author
https://www.youtube.com/@QANSIGLIERE/
Support the project
https://buymeacoffee.com/qansigliere
Installation
Using npm npm i qansigliere-axios-utils
How to use it
GET Method
get(baseURL, additionalPath, headers, returnAll = false, ignoreIssues = false)
baseURL
- The consistent part or the root of your website's address, example: "https://YourDomain.com"additionalPath
- Path to a specific API resourceheaders
- request headersreturnAll
- if it is true, the request will return an object with response status, headers and server response. if it is false, the request will return only the server responseignoreIssues
- if it is true, then any response with status code >= 400 and <=502 will not be passed as exception
POST Method
PUT Method
PATCH Method
DELETE Method
Improvements & Suggestions
1.2.0
5 months ago
1.1.1
5 months ago
1.1.0
5 months ago
1.0.3
5 months ago
1.0.2
5 months ago
1.0.1
5 months ago
1.0.0
5 months ago
0.9.3
8 months ago
0.9.2
8 months ago
0.9.1
8 months ago
0.9.0
8 months ago
0.8.0
8 months ago
0.7.0
8 months ago
0.6.0
8 months ago
0.5.0
8 months ago
0.4.0
8 months ago
0.3.0
8 months ago
0.2.0
8 months ago
0.1.0
8 months ago