Skip to content

Commit a95b644

Browse files
committed
docs: add a note about curl
1 parent ad3d3ed commit a95b644

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ Or even shorter:
7373
http example.com/api $(oidc token -H my-client)
7474
```
7575

76+
This also works with `curl`:
77+
78+
```bash
79+
curl http://example.com/api -H $(oidc token -H my-client)
80+
```
81+
7682
## More examples
7783

7884
Create a public client from an initial refresh token. This can be useful if you have a frontend application, but no

0 commit comments

Comments
 (0)