docs: added a section on middlewares and trailing backslashes (#8942)
This commit is contained in:
@@ -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' \
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user