Skip to content

Commit ff12ca5

Browse files
committed
Updated to use bruno instead of postman.
1 parent d46c5f9 commit ff12ca5

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

articles/azure-maps/how-to-search-for-address.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ This article demonstrates how to:
2626
* An [Azure Maps account]
2727
* A [subscription key]
2828

29-
This tutorial uses the [Postman] application, but you may choose a different API development environment.
29+
>[!IMPORTANT]
30+
>
31+
> In the URL examples in this article you will need to replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
32+
33+
This article uses the [bruno] application, but you can choose a different API development environment.
3034

3135
## Request latitude and longitude for an address (geocoding)
3236

@@ -35,23 +39,27 @@ The example in this section uses [Get Search Address] to convert an address into
3539
>[!TIP]
3640
>If you have a set of addresses to geocode, you can use [Post Search Address Batch] to send a batch of queries in a single request.
3741
38-
1. In the Postman app, select **New** to create the request. In the **Create New** window, select **HTTP Request**. Enter a **Request name** for the request.
42+
1. Open the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
3943

40-
2. Select the **GET** HTTP method in the builder tab and enter the following URL. In this request, we're searching for a specific address: `400 Braod St, Seattle, WA 98109`. For this request, and other requests mentioned in this article, replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
44+
1. Select the **GET** HTTP method in the **URL** drop-down list, then enter the following URL:
4145

4246
```http
4347
https://atlas.microsoft.com/search/address/json?&subscription-key={Your-Azure-Maps-Subscription-key}&api-version=1.0&language=en-US&query=400 Broad St, Seattle, WA 98109
4448
```
4549
46-
3. Select the blue **Send** button. The response body contains data for a single location.
50+
This request searches for a specific address: `400 Broad St, Seattle, WA 98109`.
51+
52+
1. Select the **Create** button.
53+
54+
1. Select the run button.
4755
48-
4. Next, search an address that has more than one possible locations. In the **Params** section, change the `query` key to `400 Broad, Seattle`. Select the blue **Send** button.
56+
1. Next, search an address that has more than one possible location. In the **Params** section, change the `query` key to `400 Broad, Seattle`. Select the blue **Send** button.
4957
5058
:::image type="content" source="./media/how-to-search-for-address/search-address.png" alt-text="Search for address":::
5159
52-
5. Next, try setting the `query` key to `400 Broa`.
60+
1. Next, try setting the `query` key to `400 Broa`.
5361
54-
6. Select the **Send** button. The response includes results from multiple countries/regions. To geobias results to the relevant area for your users, always add as many location details as possible to the request.
62+
1. Select the **Send** button. The response includes results from multiple countries/regions. To geobias results to the relevant area for your users, always add as many location details as possible to the request.
5563
5664
## Fuzzy Search
5765
@@ -67,7 +75,7 @@ The example in this section uses `Fuzzy Search` to search the entire world for *
6775
> [!IMPORTANT]
6876
> To geobias results to the relevant area for your users, always add as many location details as possible. For more information, see [Best Practices for Search].
6977
70-
1. In the Postman app, select **New** to create the request. In the **Create New** window, select **HTTP Request**. Enter a **Request name** for the request.
78+
1. Open the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
7179
7280
2. Select the **GET** HTTP method in the builder tab and enter the following URL. For this request, and other requests mentioned in this article, replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
7381
@@ -115,7 +123,7 @@ The example in this section uses `Fuzzy Search` to search the entire world for *
115123
116124
This example demonstrates making reverse searches using a few of the optional parameters that are available. For the full list of optional parameters, see [Reverse Search Parameters].
117125
118-
1. In the Postman app, select **New** to create the request. In the **Create New** window, select **HTTP Request**. Enter a **Request name** for the request.
126+
1. Open the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
119127
120128
2. Select the **GET** HTTP method in the builder tab and enter the following URL. For this request, and other requests mentioned in this article, replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key. The request should look like the following URL:
121129
@@ -151,7 +159,7 @@ This example demonstrates making reverse searches using a few of the optional pa
151159
152160
This example demonstrates how to search for a cross street based on the coordinates of an address.
153161
154-
1. In the Postman app, select **New** to create the request. In the **Create New** window, select **HTTP Request**. Enter a **Request name** for the request.
162+
1. Open the bruno app, select **NEW REQUEST** to create the request. In the **NEW REQUEST** window, set **Type** to **HTTP**. Enter a **Name** for the request.
155163
156164
2. Select the **GET** HTTP method in the builder tab and enter the following URL. For this request, and other requests mentioned in this article, replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key. The request should look like the following URL:
157165
@@ -183,7 +191,7 @@ This example demonstrates how to search for a cross street based on the coordina
183191
[point of interest result]: /rest/api/maps/search/getsearchpoi?view=rest-maps-1.0&preserve-view=true#searchpoiresponse
184192
[Post Search Address Batch]: /rest/api/maps/search/postsearchaddressbatch
185193
[Post Search Address Reverse Batch]: /rest/api/maps/search/postsearchaddressreversebatch?view=rest-maps-1.0&preserve-view=true
186-
[Postman]: https://www.postman.com/
194+
[bruno]: https://www.usebruno.com/
187195
[Reverse Address Search Results]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true#searchaddressreverseresult
188196
[Reverse Address Search]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true
189197
[Reverse Search Parameters]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true#uri-parameters

0 commit comments

Comments
 (0)