website: fix curl example for registry API

This commit is contained in:
Marv Cool 2018-07-25 18:11:54 +02:00 committed by Martin Atkins
parent 8add05f6ee
commit 1a14ec8bd6
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ These endpoints list modules according to some criteria.
### Sample Request
```text
$ curl 'https://registry.terraform.io/v1/modules&limit=2&verified=true'
$ curl 'https://registry.terraform.io/v1/modules?limit=2&verified=true'
```
### Sample Response
@ -752,4 +752,4 @@ Note that:
- `prev_offset` will only be present if not at `offset = 0`.
- `limit` is the actual limit that was applied, it may be lower than the requested limit param.
- The key for the result array varies based on the endpoint and will be the
type of result pluralized, for example `modules`.
type of result pluralized, for example `modules`.