Set up Aidbox with Postman
Last updated
Was this helpful?
Last updated
Was this helpful?
This tutorial will guide you through the process of setting up and using Postman with Aidbox for API testing and development.
Aidbox instance up and running. You can or .
Postman installed on your computer
Basic understanding of REST APIs and FHIR
First, you need to create a client in Aidbox that will be used for authentication. You can do this through the Aidbox UI or by making a direct API call.
Create an access policy to define what operations your Postman client can perform. While Aidbox supports multiple engines (matcho
, json-schema
, and others), we'll use the simplest allow
engine.
Open Postman and create a new request
Configure Authorization using
Select Auth Type Basic Auth
Specify Username as postman
and Password as secret
Set the request method to GET
Set the URL to {{base_url}}/fhir/Patient
Add the following header:
Content-Type: application/json
Run query
Check the response headers for additional information about the request processing
If you get a 401 Unauthorized error:
Verify your client credentials
Check that your access policy is correctly configured