Enable JWT Auth
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Successful in 2m30s
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Successful in 2m30s
This commit is contained in:
1 parent
e02d88f266
commit
eb1d69465f
16 files changed
+853
-15
No files matched your search
@@ -10,14 +10,13 @@ Just a fun little project to take a REST API input and generate an output to a n
|
||||
|
||||
# TO DO
|
||||
- Print Queue for incoming jobs (create background loop that checks queue)
|
||||
- Fix JWT, I think maybe this version of Golang broke it?
|
||||
|
||||
## Example Usage:
|
||||
|
||||
```
|
||||
curl --request POST \
|
||||
--url http://127.0.0.1:8080/api/v1/print \
|
||||
--header 'Authorization: Bearer <TOKEN>' \
|
||||
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidWJlcmJyaW5nZXIifQ.TWB3oK8fuoad7oP6FHTP7HhAQB7iRhZRtL1N71irVNc' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'User-Agent: Insomnia/2023.5.5' \
|
||||
--data '{
|
||||
@@ -49,4 +48,4 @@ curl --request POST \
|
||||
}
|
||||
]
|
||||
}'
|
||||
```
|
||||
```
|
||||
Reference in new issue
Block a user