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/azure-functions/functions-create-serverless-api.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattchenderson
5
5
ms.author: mahender
6
6
ms.service: azure-functions
7
7
ms.topic: how-to
8
-
ms.date: 06/14/2024
8
+
ms.date: 06/17/2024
9
9
ms.custom: mvc
10
10
11
11
#Customer intent: As a developer, I want to customize HTTP trigger endpoints in Azure Functions so that I can build a highly scalable API.
@@ -43,7 +43,7 @@ By default, you configure your HTTP trigger function to accept any HTTP method.
43
43
| Authorization level | Anonymous | Optional: Makes your function accessible without an API key |
44
44
| Selected HTTP methods | GET | Allows only selected HTTP methods to be used to invoke this function |
45
45
46
-
Because a global setting handles the `/api` base path prefix in the route template, you didn't need to set it here.
46
+
Because a global setting handles the `/api` base path prefix in the route template, you don't need to set it here.
47
47
48
48
1. Select **Save**.
49
49
@@ -133,7 +133,7 @@ Next, you use a proxy to create a mock API for your solution. This proxy allows
133
133
134
134
1. Select `proxies.json` in the left pane. This file stores the configuration for all of your proxies. If you use one of the [Functions deployment methods](./functions-continuous-deployment.md), you maintain this file in source control. For more information about this file, see [Proxies advanced configuration](./legacy-proxies.md#advanced-configuration).
135
135
136
-
Your *proxies.json* should appear as follows:
136
+
Your *proxies.json*file should appear as follows:
137
137
138
138
```json
139
139
{
@@ -185,15 +185,15 @@ Next, you use a proxy to create a mock API for your solution. This proxy allows
185
185
}
186
186
```
187
187
188
-
This code adds a new proxy, `GetUserByName`, omitting the `backendUri` property. Instead of calling another resource, it modifies the default response from Azure Functions proxies by using a response override. You can also use request and response overrides with a backend URL. This technique is useful when you proxy to a legacy system, where you might need to modify headers, query parameters, and so on. For more information about request and response overrides, see [Modifying requests and responses in Proxies](./legacy-proxies.md).
188
+
This code adds a new proxy, `GetUserByName`, which omits the `backendUri` property. Instead of calling another resource, it modifies the default response from Azure Functions proxies by using a response override. You can also use request and response overrides with a backend URL. This technique is useful when you proxy to a legacy system, where you might need to modify headers, query parameters, and so on. For more information about request and response overrides, see [Modify requests and responses](./legacy-proxies.md#modify-requests-responses).
189
189
190
-
1. Test your mock API by calling the `<YourProxyApp>.azurewebsites.net/api/users/{username}` endpoint with a browser or your favorite REST client. Be sure to replace *{username}* with a string value representing a username.
190
+
1. Test your mock API by calling the `<YourProxyApp>.azurewebsites.net/api/users/{username}` endpoint with a browser or your favorite REST client. Replace *{username}* with a string value that represents a username.
191
191
192
192
## Related content
193
193
194
194
In this article, you learned how to build and customize an API with Azure Functions. You also learned how to bring multiple APIs, including mock APIS, together as a unified API surface. You can use these techniques to build out APIs of any complexity, all while running on the serverless compute model provided by Azure Functions.
195
195
196
-
The following references might be helpful as you develop your API further:
196
+
For more information about developing your API:
197
197
198
198
-[Azure Functions HTTP triggers and bindings overview](./functions-bindings-http-webhook.md)
0 commit comments