Difference between revisions of "I2Rest Client"
Pavel.lobko (talk | contribs)  | 
				Pavel.lobko (talk | contribs)   | 
				||
| Line 2: | Line 2: | ||
i2Rest-client is a native IBM i tool for web communications via http/https requests. It was intended to extend IBM i api functionality with http client functions. And more tnan this, with provided by I2rest-client Oauth 2.0 flows  | i2Rest-client is a native IBM i tool for web communications via http/https requests. It was intended to extend IBM i api functionality with http client functions. And more tnan this, with provided by I2rest-client Oauth 2.0 flows  | ||
| − | your IBM i   | + | your IBM i API could have access to any OpenApi service.    | 
| + | |||
| + | == Scenaries ==  | ||
Depending on your needs I2rest-client can provide four request authorization scenaries:  | Depending on your needs I2rest-client can provide four request authorization scenaries:  | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
;Https request without authorization  | ;Https request without authorization  | ||
:<div id="noauth"></div>Http/https requests of any type, JSON messages, stream file upload - everything is here. Please explore [[NoAuth-usecase|typical usecases]]  | :<div id="noauth"></div>Http/https requests of any type, JSON messages, stream file upload - everything is here. Please explore [[NoAuth-usecase|typical usecases]]  | ||
| − | + | ;Basic access authentication  | |
| + | :<div id="BasicAuth"></div>Same options as above, but with [https://en.wikipedia.org/wiki/Basic_access_authentication]. Some [[BasicAuth-usercase|Usercases]] for a quik start.  | ||
| + | |||
| + | ;Oauth2 CLient Credentials flow  | ||
| + | :allowing the third-party application to obtain access on its own behalf  | ||
| + | |||
| + | ;Oauth2 Device flow  | ||
| + | :  | ||
| − | |||
Revision as of 12:26, 6 April 2020
i2Rest-client is a native IBM i tool for web communications via http/https requests. It was intended to extend IBM i api functionality with http client functions. And more tnan this, with provided by I2rest-client Oauth 2.0 flows
your IBM i API could have access to any OpenApi service. 
Scenaries
Depending on your needs I2rest-client can provide four request authorization scenaries:
- Https request without authorization
 - Http/https requests of any type, JSON messages, stream file upload - everything is here. Please explore typical usecases
 
- Oauth2 CLient Credentials flow
 - allowing the third-party application to obtain access on its own behalf
 
- Oauth2 Device flow
 
Implementation
You can interract with I2rest-client with IBM i command, or by the mean of it's integration API.