Postman
Postman is a platform that allows you to use APIs with a user-friendly interface. It can be a great way to test your API endpoints and check for conformance and data quality.
How to integrate Postman with Iguhealth
Download Postman
- Download Postman from the official website.
Setup IGUHealth
- Go to the admin application and create a new ClientApplication.
- Set the name to Postman
- Set the grant type to
client_credentials
. - Set the response type to token.
- Set the secret to a secure value.
- Hit Actions and create
- Mark down the client ID and secret.
- Click Security->AccessPolicyV2 in the admin app and create a new access policy.
- Create AccessPolicyV2 with the engine set to `Full Access'.
- Under Target.Link reference the ClientApplication created on step 5.
Authorize Postman
- Open Postman and create a new request.
- Under Authorization set type to OAuth 2.0.
- Under Configure New Token set Grant Type to Client Credentials.
- Set ClientID and ClientSecret to the values from step 7.
- Set the Access Token URL to value at User -> Settings -> Endpoints -> Security -> Token
- Click Get New Access Token and confirm that you get an access token.
Test
- Get R4 endpoint from User -> Settings -> Endpoints -> FHIR -> R4
- Make get requests in Postman to the
${r4Endpoint}/metadata
- Confirm that you get a 200 response with CapabilityStatement in body.