© 2026 InterSystems Corporation. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms

Added selectable LoginMethod for token requests
IsAuthError() method)RawJWT mode when the server returns only a JWT token as plain text. In this case, the API client extracts the expiration date from the token payload. I consciously did not add signature verification, since it requires additional elements (encryption algorithm, public key) and is not needed to extract the dateLoginMethod for token requestsEnsLib.REST.OperationTokenProviderClass setting and FlexibleREST.Auth.AbstractProvider classTokenKey setting)Pool Size > 1)AbstractProvider interface). You can use it as a sample for your own provider implementationrefresh_tokenTokenSkew - early refreshingbody, basic, parameters (see TokenAuthStyle setting)GET, POST)form (x-www-form-urlencoded) or json (if you use TokenAuthStyle = body)data.access_token or accessToken fieldsTokenDefaultTTL)grant_type and token scopeRawJWT - when the server returns only a JWT token (as plain text), and we have to extract the expiration date ourselvesAuthorization header, in the JSON body, or as a query parameter)IsAuthError() method to check the response body content, for exampleAuth settings section of the Business Operation)zpm "install flexible-rest-client"
Run the command in the IRIS terminal with IPM installed. Add the FlexibleREST.Operation.APIClient Business Operation to your Production
git clone https://github.com/ogurecapps/flexible-rest-client.git
Clone the repo into a local directory and copy the FlexibleREST package into your project
After installing the package, you can run FlexibleREST.Production.Test in the IRIS Management Portal. Production already has a data stream set up to dummyjson.com. You only need to create a credential named dummy-json. You can use {"username": "emilys", "password": "emilyspass"} or take any from here: https://dummyjson.com/users.