You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/healthcare-apis/azure-api-for-fhir/tutorial-web-app-test-postman.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,23 +13,23 @@ ms.date: 08/10/2021
13
13
14
14
# Testing the FHIR API on Azure API for FHIR
15
15
16
-
In the previous two steps, you deployed the Azure API for FHIR and registered your client application. You are now ready to test that your Azure API for FHIR is set up with your client application.
16
+
In the previous tutorial, you deployed the Azure API for FHIR and registered your client application. You're now ready to test your Azure API for FHIR.
17
17
18
18
## Retrieve capability statement
19
-
First we will get the capability statement for your Azure API for FHIR.
20
-
1. Open Postman
19
+
First we'll get the capability statement for your Azure API for FHIR.
20
+
1. Open Postman.
21
21
1. Retrieve the capability statement by doing `GET https://\<FHIR-SERVER-NAME>.azurehealthcareapis.com/metadata`. In the image below the FHIR server name is **fhirserver**.
Next we will attempt to retrieve a patient. To retrieve a patient, enter `GET https://\<FHIR-SERVER-NAME>.azurehealthcareapis.com/Patient`. You will receive a 401 Unauthorized error. This error is because you haven't proven that you should have access to patient data.
25
+
Next we'll attempt to retrieve a patient. To retrieve a patient, enter `GET https://\<FHIR-SERVER-NAME>.azurehealthcareapis.com/Patient`. You’ll receive a 401 Unauthorized error. This error is because you haven't proven that you should have access to patient data.
Now you have access, you can create a new patient. Here is a sample of a simple patient you can add into your FHIR server. Enter the code below into the **Body** section of Postman.
54
+
Now you have access, you can create a new patient. Here's a sample of a simple patient you can add into your FHIR server. Enter this `json` into the **Body** section of Postman.
55
55
56
56
```json
57
57
{
@@ -80,7 +80,7 @@ Now you have access, you can create a new patient. Here is a sample of a simple
80
80
This POST will create a new patient in your FHIR server with the name James Tiberious Kirk.
If you do the GET step above to retrieve a patient again, you will see James Tiberious Kirk listed in the output.
83
+
If you do the GET command to retrieve a patient again, you'll see James Tiberious Kirk listed in the output.
84
84
85
85
> [!NOTE]
86
86
> When sending requests to the Azure API for FHIR, you need to ensure that you've set the content-type header to `application/json`
@@ -92,7 +92,7 @@ If you ran into issues during any of these steps, review the documents we have p
92
92
*[Access token validation](azure-api-fhir-access-token-validation.md) - This how-to guide gives more specific details on access token validation and steps to take to resolve access issues.
93
93
94
94
## Next Steps
95
-
Now that you can successfully connect to your client application, you are ready to write your web application.
95
+
Now that you can successfully connect to your client application, you’re ready to write your web application.
96
96
97
97
>[!div class="nextstepaction"]
98
98
>[Write a web application](tutorial-web-app-write-web-app.md)
0 commit comments