Skip to content

Commit 974b675

Browse files
committed
'a HTTP' -> 'an HTTP'
1 parent f53cd24 commit 974b675

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

articles/azure-functions/functions-bindings-cosmosdb-v2.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ public class ToDoItem {
15031503

15041504
#### HTTP trigger, look up ID from query string - String parameter (Java)
15051505

1506-
The following example shows a Java function that retrieves a single document. The function is triggered by a HTTP request that uses a query string to specify the ID and partition key value to look up. That ID and partition key value are used to retrieve a document from the specified database and collection, in String form.
1506+
The following example shows a Java function that retrieves a single document. The function is triggered by an HTTP request that uses a query string to specify the ID and partition key value to look up. That ID and partition key value are used to retrieve a document from the specified database and collection, in String form.
15071507

15081508
```java
15091509
public class DocByIdFromQueryString {
@@ -1549,7 +1549,7 @@ In the [Java functions runtime library](/java/api/overview/azure/functions/runti
15491549

15501550
#### HTTP trigger, look up ID from query string - POJO parameter (Java)
15511551

1552-
The following example shows a Java function that retrieves a single document. The function is triggered by a HTTP request that uses a query string to specify the ID and partition key value to look up. That ID and partition key value used to retrieve a document from the specified database and collection. The document is then converted to an instance of the ```ToDoItem``` POJO previously created, and passed as an argument to the function.
1552+
The following example shows a Java function that retrieves a single document. The function is triggered by an HTTP request that uses a query string to specify the ID and partition key value to look up. That ID and partition key value used to retrieve a document from the specified database and collection. The document is then converted to an instance of the ```ToDoItem``` POJO previously created, and passed as an argument to the function.
15531553

15541554
```java
15551555
public class DocByIdFromQueryStringPojo {
@@ -1591,7 +1591,7 @@ public class DocByIdFromQueryStringPojo {
15911591

15921592
#### HTTP trigger, look up ID from route data (Java)
15931593

1594-
The following example shows a Java function that retrieves a single document. The function is triggered by a HTTP request that uses a route parameter to specify the ID and partition key value to look up. That ID and partition key value are used to retrieve a document from the specified database and collection, returning it as an ```Optional<String>```.
1594+
The following example shows a Java function that retrieves a single document. The function is triggered by an HTTP request that uses a route parameter to specify the ID and partition key value to look up. That ID and partition key value are used to retrieve a document from the specified database and collection, returning it as an ```Optional<String>```.
15951595

15961596
```java
15971597
public class DocByIdFromRoute {
@@ -1636,7 +1636,7 @@ public class DocByIdFromRoute {
16361636

16371637
#### HTTP trigger, look up ID from route data, using SqlQuery (Java)
16381638

1639-
The following example shows a Java function that retrieves a single document. The function is triggered by a HTTP request that uses a route parameter to specify the ID to look up. That ID is used to retrieve a document from the specified database and collection, converting the result set to a ```ToDoItem[]```, since many documents may be returned, depending on the query criteria.
1639+
The following example shows a Java function that retrieves a single document. The function is triggered by an HTTP request that uses a route parameter to specify the ID to look up. That ID is used to retrieve a document from the specified database and collection, converting the result set to a ```ToDoItem[]```, since many documents may be returned, depending on the query criteria.
16401640

16411641
> [!NOTE]
16421642
> If you need to query by just the ID, it is recommended to use a look up, like the [previous examples](#http-trigger-look-up-id-from-query-string---pojo-parameter-java), as it will consume less [request units](../cosmos-db/request-units.md). Point read operations (GET) are [more efficient](../cosmos-db/optimize-cost-queries.md) than queries by ID.
@@ -1682,7 +1682,7 @@ public class DocByIdFromRouteSqlQuery {
16821682

16831683
#### HTTP trigger, get multiple docs from route data, using SqlQuery (Java)
16841684

1685-
The following example shows a Java function that retrieves multiple documents. The function is triggered by a HTTP request that uses a route parameter ```desc``` to specify the string to search for in the ```description``` field. The search term is used to retrieve a collection of documents from the specified database and collection, converting the result set to a ```ToDoItem[]``` and passing it as an argument to the function.
1685+
The following example shows a Java function that retrieves multiple documents. The function is triggered by an HTTP request that uses a route parameter ```desc``` to specify the string to search for in the ```description``` field. The search term is used to retrieve a collection of documents from the specified database and collection, converting the result set to a ```ToDoItem[]``` and passing it as an argument to the function.
16861686

16871687
```java
16881688
public class DocsFromRouteSqlQuery {

articles/azure-functions/functions-bindings-service-bus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ let Run(myTimer: TimerInfo, log: ILogger, outputSbQueue: byref<string>) =
494494

495495
### Output - Java example
496496

497-
The following example shows a Java function that sends a message to a Service Bus queue `myqueue` when triggered by a HTTP request.
497+
The following example shows a Java function that sends a message to a Service Bus queue `myqueue` when triggered by an HTTP request.
498498

499499
```java
500500
@FunctionName("httpToServiceBusQueue")

articles/azure-functions/functions-create-student-starter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create a function using Azure for Students Starter
33
description: Learn how to create an Azure Function from within an Azure for Student Starter subscription
4-
Customer intent: As a student, I want to be able to create a HTTP triggered Function App within the Student Starter plan so that I can easily add APIs to any project.
4+
Customer intent: As a student, I want to be able to create an HTTP triggered Function App within the Student Starter plan so that I can easily add APIs to any project.
55
author: alexkarcher-msft
66

77
ms.topic: quickstart

0 commit comments

Comments
 (0)