docs: added a section on middlewares and trailing backslashes (#8942)

This commit is contained in:
Shahed Nasser
2024-09-03 17:32:36 +03:00
committed by GitHub
parent c42d66f239
commit 46a70eaf5b
4 changed files with 50 additions and 2 deletions
@@ -511,6 +511,12 @@ This route is available because you created the `vendor` actor type previously.
3. Send a request to the `/vendors` API route, passing the token retrieved from the previous response in the request header:
<Note>
Don't include a trailing slash at the end of the URL. Learn more [here](!docs!/advanced-development/api-routes/middlewares).
</Note>
```bash
curl -X POST 'http://localhost:9000/vendors' \
-H 'Content-Type: application/json' \
+1 -1
View File
@@ -145,7 +145,7 @@ export const generatedEditDates = {
"app/recipes/digital-products/page.mdx": "2024-08-02T13:02:06+00:00",
"app/recipes/ecommerce/page.mdx": "2024-06-09T15:18:43+02:00",
"app/recipes/integrate-ecommerce-stack/page.mdx": "2024-08-05T07:24:27+00:00",
"app/recipes/marketplace/examples/vendors/page.mdx": "2024-07-31T17:01:33+03:00",
"app/recipes/marketplace/examples/vendors/page.mdx": "2024-09-02T14:06:37.189Z",
"app/recipes/marketplace/page.mdx": "2024-07-11T15:56:41+00:00",
"app/recipes/multi-region-store/page.mdx": "2024-07-01T10:21:19+03:00",
"app/recipes/omnichannel/page.mdx": "2024-06-09T15:18:43+02:00",