mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
format markdown
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
# guards
|
||||
|
||||
Shows how to set up custom routing guards.
|
||||
|
||||
- Routing different API versions using a header instead of path.
|
||||
|
||||
## Usage
|
||||
@ -30,5 +31,5 @@ Using [cURL]:
|
||||
curl 'localhost:8080/api/hello' -H 'accept-version: 1'
|
||||
```
|
||||
|
||||
[HTTPie]: https://httpie.org
|
||||
[cURL]: https://curl.haxx.se
|
||||
[httpie]: https://httpie.org
|
||||
[curl]: https://curl.haxx.se
|
||||
|
Reference in New Issue
Block a user