Skip to content

Commit ac3070e

Browse files
committed
Update tutorial-web-app-test-postman.md
Acrolynx fixes
1 parent 0397501 commit ac3070e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/healthcare-apis/azure-api-for-fhir/tutorial-web-app-test-postman.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ ms.date: 08/10/2021
1313

1414
# Testing the FHIR API on Azure API for FHIR
1515

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.
1717

1818
## 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.
2121
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**.
2222

2323
![Capability Statement](media/tutorial-web-app/postman-capability-statement.png)
2424

25-
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.
2626

2727
## Get patient from FHIR server
2828
![Failed Patient](media/tutorial-web-app/postman-patient-authorization-failed.png)
2929

3030
In order to gain access, you need an access token.
31-
1. In Postman, select **Authorization** and set the Type to **OAuth2.0**
32-
1. Select **Get New Access Token**
31+
1. Select **Authorization** and set the Type to **OAuth2.0** in Postman.
32+
1. Select **Get New Access Token**.
3333
1. Fill in the fields and select **Request Token**. Below you can see the values for each field for this tutorial.
3434

3535
|Field |Value |
@@ -51,7 +51,7 @@ In order to gain access, you need an access token.
5151
![Success Patient](media/tutorial-web-app/postman-patient-authorization-success.png)
5252

5353
## Post patient into FHIR server
54-
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.
5555

5656
``` json
5757
{
@@ -80,7 +80,7 @@ Now you have access, you can create a new patient. Here is a sample of a simple
8080
This POST will create a new patient in your FHIR server with the name James Tiberious Kirk.
8181
![Post Patient](media/tutorial-web-app/postman-post-patient.png)
8282

83-
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.
8484

8585
> [!NOTE]
8686
> 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
9292
* [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.
9393

9494
## 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.
9696

9797
>[!div class="nextstepaction"]
9898
>[Write a web application](tutorial-web-app-write-web-app.md)

0 commit comments

Comments
 (0)