Skip to content

Commit 0994dcc

Browse files
Merge pull request #284569 from stevemunk/postman-to-bruno-best-practices-for-routing-and-search
Update to reference bruno.
2 parents 2c77adf + b9b141e commit 0994dcc

File tree

3 files changed

+22
-24
lines changed

3 files changed

+22
-24
lines changed

articles/azure-maps/how-to-use-best-practices-for-routing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The Route Directions and Route Matrix APIs in Azure Maps [Route service] can be
3030

3131
For more information about the coverage of the Route service, see [Routing Coverage].
3232

33-
This article uses the [Postman] application to build REST calls, but you can choose any API development environment.
33+
You can use any API development environment such as [Postman] or [bruno] to run the HTTP request samples shown in this article or to build REST calls.
3434

3535
## Choose between Route Directions and Matrix Routing
3636

@@ -47,7 +47,7 @@ Consider calling Matrix Routing API if your scenario is to:
4747

4848
* Calculate the travel time or distance between a set of origins and destinations. For example, you have 12 drivers and you need to find the closest available driver to pick up the food delivery from the restaurant.
4949
* Sort potential routes by their actual travel distance or time. The Matrix API returns only travel times and distances for each origin and destination combination.
50-
* Cluster data based on travel time or distances. For example, your company has 50 employees, find all employees that live within 20 minute Drive Time from your office.
50+
* Cluster data based on travel time or distances. For example, your company has 50 employees, find all employees that live within 20 minute drive time from your office.
5151

5252
Here's a comparison to show some capabilities of the Route Directions and Matrix APIs:
5353

@@ -289,6 +289,7 @@ To learn more, please see:
289289
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
290290
[Azure Maps npm Package]: https://www.npmjs.com/package/azure-maps-rest
291291
[Azure Maps Route service]: /rest/api/maps/route
292+
[bruno]: https://www.usebruno.com/
292293
[How to use the Service module]: how-to-use-services-module.md
293294
[Point of Interest]: /rest/api/maps/search/getsearchpoi?view=rest-maps-1.0&preserve-view=true
294295
[Post Route Directions API documentation]: /rest/api/maps/route/postroutedirections#supportingpoints

articles/azure-maps/how-to-use-best-practices-for-search.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This article explains how to apply sound practices when you call data from Azure
2727
* An [Azure Maps account]
2828
* A [subscription key]
2929

30-
This article uses the [Postman] application to build REST calls, but you can choose any API development environment.
30+
You can use any API development environment such as [Postman] or [bruno] to run the HTTP request samples shown in this article or to build REST calls.
3131

3232
## Best practices to geocode addresses
3333

@@ -126,7 +126,6 @@ Use the `language` parameter to set the language for the returned search results
126126

127127
For more information, see [Azure Maps supported languages].
128128

129-
130129
### Use predictive mode (automatic suggestions)
131130

132131
To find more matches for partial queries, set the `typeahead` parameter to `true`. This query is interpreted as a partial input, and the search enters predictive mode. If you don't set the `typeahead` parameter to `true`, then the service assumes that all relevant information has been passed in.
@@ -396,8 +395,7 @@ https://atlas.microsoft.com/search/address/json?subscription-key={Your-Azure-Map
396395
}
397396
```
398397

399-
400-
### Encode a URI to handle special characters
398+
### Encode a URI to handle special characters
401399

402400
To find cross street addresses, you must encode the URI to handle special characters in the address. Consider this address example: *1st Avenue & Union Street, Seattle*. Here, encode the ampersand character (`&`) before you send the request.
403401

@@ -738,7 +736,6 @@ https://atlas.microsoft.com/search/poi/json?subscription-key={Your-Azure-Maps-Su
738736
}
739737
```
740738

741-
742739
### Airport search
743740

744741
By using the Search POI API, you can look for airports by using their official code. For example, you can use *SEA* to find the Seattle-Tacoma International Airport:
@@ -973,19 +970,19 @@ To learn more, please see:
973970
> [!div class="nextstepaction"]
974971
> [Search service API documentation](/rest/api/maps/search?view=rest-maps-1.0&preserve-view=true)
975972
976-
[Search service]: /rest/api/maps/search?view=rest-maps-1.0&preserve-view=true
977-
[Search Fuzzy]: /rest/api/maps/search/getsearchfuzzy?view=rest-maps-1.0&preserve-view=true
978973
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
979-
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
980-
[Postman]: https://www.postman.com/downloads/
974+
[Azure Maps supported languages]: supported-languages.md
975+
[bruno]: https://www.usebruno.com/
981976
[Geocoding coverage]: geocoding-coverage.md
982-
[Search Address Reverse]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true
983-
[POI category search]: /rest/api/maps/search/getsearchpoicategory?view=rest-maps-1.0&preserve-view=true
984-
[Search Nearby]: /rest/api/maps/search/getsearchnearby?view=rest-maps-1.0&preserve-view=true
985977
[Get Search Address]: /rest/api/maps/search/getsearchaddress?view=rest-maps-1.0&preserve-view=true
986-
987-
[Azure Maps supported languages]: supported-languages.md
978+
[POI category search]: /rest/api/maps/search/getsearchpoicategory?view=rest-maps-1.0&preserve-view=true
979+
[Postman]: https://www.postman.com/downloads/
980+
[Search Address Reverse]: /rest/api/maps/search/getsearchaddressreverse?view=rest-maps-1.0&preserve-view=true
988981
[Search Address]: /rest/api/maps/search/getsearchaddress?view=rest-maps-1.0&preserve-view=true
982+
[Search Fuzzy]: /rest/api/maps/search/getsearchfuzzy?view=rest-maps-1.0&preserve-view=true
983+
[Search Nearby]: /rest/api/maps/search/getsearchnearby?view=rest-maps-1.0&preserve-view=true
984+
[Search POIs inside the geometry]: /rest/api/maps/search/postsearchinsidegeometry?view=rest-maps-1.0&preserve-view=true
989985
[Search Polygon service]: /rest/api/maps/search/getsearchpolygon?view=rest-maps-1.0&preserve-view=true
986+
[Search service]: /rest/api/maps/search?view=rest-maps-1.0&preserve-view=true
990987
[Set up a geofence]: tutorial-geofence.md
991-
[Search POIs inside the geometry]: /rest/api/maps/search/postsearchinsidegeometry?view=rest-maps-1.0&preserve-view=true
988+
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account

articles/azure-maps/tutorial-iot-hub-maps.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps
44
description: Tutorial on how to Integrate IoT Hub with Microsoft Azure Maps service APIs
55
author: farazgis
66
ms.author: fsiddiqui
7-
ms.date: 09/14/2023
7+
ms.date: 08/14/2024
88
ms.topic: tutorial
99
ms.service: azure-maps
1010
ms.subservice: spatial
@@ -36,11 +36,11 @@ If you don't have an Azure subscription, create a [free account] before you begi
3636
* The [rentalCarSimulation] C# project
3737

3838
> [!TIP]
39-
> You can download the entire [rentalCarSimulation] C# project from GitHub as a single ZIP file by going to [the root of the sample] and selecting the green **<> Code** button, then **Download ZIP**.
39+
> You can download the entire [rentalCarSimulation] C# project from GitHub as a single ZIP file by going to [the root of the sample] and selecting the green **Code** button, then **Download ZIP**.
4040
41-
This tutorial uses the [Postman] application, but you can choose a different API development environment.
41+
This tutorial uses the [bruno] application, but you can choose a different API development environment.
4242

43-
>[!IMPORTANT]
43+
> [!IMPORTANT]
4444
> In the URL examples, replace `{Your-Azure-Maps-Subscription-key}` with your Azure Maps subscription key.
4545
4646
## Use case: rental car tracking
@@ -150,7 +150,7 @@ Now, set up your Azure function.
150150

151151
1. After the app is created, you add a function to it. Go to the function app. Select the **Create in Azure Portal** button.
152152

153-
>[!IMPORTANT]
153+
> [!IMPORTANT]
154154
> The **Azure Event ***Hub*** Trigger** and the **Azure Event ***Grid*** Trigger** templates have similar names. Make sure you select the **Azure Event ***Grid*** Trigger** template.
155155
156156
:::image type="content" source="./media/tutorial-iot-hub-maps/function-create.png" alt-text="Screenshot of create a function in Azure Portal.":::
@@ -196,7 +196,7 @@ In your example scenario, you only want to receive messages when the rental car
196196

197197
:::image type="content" source="./media/tutorial-iot-hub-maps/hub-filter.png" alt-text="Screenshot of filter routing messages.":::
198198

199-
>[!TIP]
199+
> [!TIP]
200200
>There are various ways to query IoT device-to-cloud messages. To learn more about message routing syntax, see [IoT Hub message routing].
201201
202202
## Send telemetry data to IoT Hub
@@ -264,6 +264,7 @@ To learn more about how to send device-to-cloud telemetry, and the other way aro
264264
[Azure Functions]: ../azure-functions/functions-overview.md
265265
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
266266
[Azure Maps REST APIs]: /rest/api/maps/spatial/getgeofence
267+
[bruno]: https://www.usebruno.com/
267268
[C# script]: https://github.com/Azure-Samples/iothub-to-azure-maps-geofencing/blob/master/src/Azure%20Function/run.csx
268269
[create a storage account]: ../storage/common/storage-account-create.md?tabs=azure-portal
269270
[Create an Azure storage account]: #create-an-azure-storage-account
@@ -278,7 +279,6 @@ To learn more about how to send device-to-cloud telemetry, and the other way aro
278279
[IoT Plug and Play]: ../iot/overview-iot-plug-and-play.md
279280
[geofence JSON data file]: https://raw.githubusercontent.com/Azure-Samples/iothub-to-azure-maps-geofencing/master/src/Data/geofence.json?token=AKD25BYJYKDJBJ55PT62N4C5LRNN4
280281
[Plug and Play schema for geospatial data]: https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v1-preview/schemas/geospatial.md
281-
[Postman]: https://www.postman.com/
282282
[register a new device in the IoT hub]: ../iot-hub/create-connect-device.md
283283
[rentalCarSimulation]: https://github.com/Azure-Samples/iothub-to-azure-maps-geofencing/tree/master/src/rentalCarSimulation
284284
[resource group]: ../azure-resource-manager/management/manage-resource-groups-portal.md#create-resource-groups

0 commit comments

Comments
 (0)