File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ version 'v1', using: :path
316
316
317
317
Using this versioning strategy, clients should pass the desired version in the URL.
318
318
319
- curl -H http://localhost:9292/v1/statuses/public_timeline
319
+ curl http://localhost:9292/v1/statuses/public_timeline
320
320
321
321
### Header
322
322
@@ -384,15 +384,15 @@ version 'v1', using: :param
384
384
Using this versioning strategy, clients should pass the desired version as a request parameter,
385
385
either in the URL query string or in the request body.
386
386
387
- curl -H http://localhost:9292/statuses/public_timeline?apiver=v1
387
+ curl http://localhost:9292/statuses/public_timeline?apiver=v1
388
388
389
389
The default name for the query parameter is 'apiver' but can be specified using the ` :parameter ` option.
390
390
391
391
``` ruby
392
392
version ' v1' , using: :param , parameter: " v"
393
393
```
394
394
395
- curl -H http://localhost:9292/statuses/public_timeline?v=v1
395
+ curl http://localhost:9292/statuses/public_timeline?v=v1
396
396
397
397
398
398
## Describing Methods
You can’t perform that action at this time.
0 commit comments