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' \