mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
updated port in example
This commit is contained in:
parent
a65a697393
commit
60480f2737
1 changed files with 3 additions and 3 deletions
|
@ -81,13 +81,13 @@ Each endpoint has comments describing what type of request it is and what parame
|
|||
Example requests using `cURL`, more examples can be found in `/tests/`:
|
||||
|
||||
```sh
|
||||
curl -X <POST|GET|PUT|DELETE> <Endpoint URI> -H '<Request Body Contents>'
|
||||
curl -X <POST|GET|PUT|DELETE> <Endpoint URI> -H '<Request Header Contents>'
|
||||
```
|
||||
|
||||
```sh
|
||||
curl -X POST http://localhost:5000/api/v1/newUser -H 'Username=Array' -H 'Password=i8Vl8XZaVRiZFsZ'
|
||||
curl -X POST http://0.0.0.0:8080/api/v1/newUser -H 'Username=Array' -H 'Password=i8Vl8XZaVRiZFsZ'
|
||||
```
|
||||
|
||||
```sh
|
||||
curl -X POST -H "Authorization: <access_token>" -F "file=@image.png" http://localhost:5000/api/v1/newFile
|
||||
curl -X POST -H "Authorization: <access_token>" -F "file=@image.png" http://0.0.0.0:8080/api/v1/newFile
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue