Skip to content

MDRTKNREF Refresh API

This is REST API written with MDRest4i that refreshes the authorization and refresh token. It accepts an HTTP header x-refreshToken that contains the value of the refresh token supplied when creating the original authorization token.

Executing MDRTKNREF

Using your preferred REST Client tool (POSTMAN, SOAP-UI, ARC, Thunder Client etc), set up the request using the following details: | Setting| Value| |-|-| |URI|By default this API is available on the same host as the MDRest4i SDK.
For example:
http://<yourSDKhost>:yourportnumber/MDRAPI/MDRTKNREF| | HTTP METHOD | GET | |Request Header|x-refreshtoken
Use the refresh token supplied when creating the token.|

Example POSTMAN Requests

All aspects of token handling can be tested using this POSTMAN collection. Download and import this collection into POSTMAN.

The POSTMAN collection request name is: Refresh RS256 Token API Example

Source Code

The source code for MDRTKNREF is available in MDRST/EXAMPLE/MDRTKNREF.