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' \
|
||||
|
||||
Reference in New Issue
Block a user