Skip to content

Commit

Permalink
Curl example
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Schaer committed Jun 26, 2024
1 parent c1dbabe commit de132f3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,12 @@ curl -X POST \
-F "scope=" \
https://%mydomain.tld%/oauth/token
```

### Example request
```
curl -X GET "https://%mydomain.tld%/api/v1/member/%member-id%" \
-H "Authorization: Bearer %token%" \
-H "Content-Type: application/json"
```

[Other API routes](https://github.com/grueneschweiz/weblingservice/blob/master/routes/api.php)

0 comments on commit de132f3

Please sign in to comment.