Skip to content
Snippets Groups Projects
Commit b2b0fe5c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

v0.5 a few more statuscode checks to complete features; update docs

parent be92cc78
No related branches found
No related tags found
No related merge requests found
# REST API CLIENT #
This is a bash solution to script REST API calls.
The specialties of this component are
* It was build to simplify http calls and use it in scripts
......@@ -12,6 +13,7 @@ The specialties of this component are
Source: https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client
License: GNU GPL 3
......@@ -127,8 +129,11 @@ INSTRUCTION:
- check http status code
http.getStatus
Get the http status as string Ok|Redirect|Error
http.getStatuscode
Get the http status code of a request
Get the http status code of a request as integer
http.isOk
Check if the http response code is a 2xx
......@@ -178,4 +183,4 @@ INSTRUCTION:
Delete a file after http.responseExport.
It is useful if you use the AUTOFILE mechanism.
```
\ No newline at end of file
```
......@@ -646,8 +646,11 @@ INSTRUCTION:
- check http status code
http.getStatus
Get the http status as string Ok|Redirect|Error
http.getStatuscode
Get the http status code of a request
Get the http status code of a request as integer
http.isOk
Check if the http response code is a 2xx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment