Update README.md
This commit is contained in:
41
README.md
41
README.md
@@ -10,4 +10,43 @@ 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?
|
||||
- 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 'Content-Type: application/json' \
|
||||
--header 'User-Agent: Insomnia/2023.5.5' \
|
||||
--data '{
|
||||
"data": [
|
||||
{
|
||||
"type": 6,
|
||||
"size": 1,
|
||||
"text": "B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2"
|
||||
},
|
||||
{
|
||||
"type": 6,
|
||||
"size": 1,
|
||||
"text": "2020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020DAC4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4BF20202020202020202020202020202020202020202020B3202121212041434854554E47202121212020B320202020202020202020202020202020202020202020C0C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4D92020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020"
|
||||
},
|
||||
{
|
||||
"type": 6,
|
||||
"size": 1,
|
||||
"text": "B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2"
|
||||
},
|
||||
{
|
||||
"type": 6,
|
||||
"size": 1,
|
||||
"text": "202020202020202020202020202020205F0A2020202020202020202020202020207C455D0A202020202020202020202020202E2D7C3D3D3D3D3D2D2E0A202020202020202020202020207C207C206D61696C207C0A202020202020202020205F5F5F7C5F5F5F5F5F5F5F5F7C0A20202020202020202020202020202020207C7C0A20202020202020202020202020202020207C7C0A20202020202020202020202020202020207C7C2020207777770A202020202020202020202C3B2C202020207C7C202020295F282C3B3B3B2C0A202020202020202020203C5F3E20205C207C7C2020205C7C2F205C5F2F0A202020202020202020205C7C2F20205C5C7C7C20205C5C7C2020207C2F2F0A5F5F5F5F5F5F5F5F5F5F5C7C2F2F5F5C5C7C2F2F2F5F5C562F5F5C7C2F2F5F5F5F5F5F5F5F5F5F5F5F5F"
|
||||
},
|
||||
{
|
||||
"type": 5,
|
||||
"size": 3,
|
||||
"text": ""
|
||||
}
|
||||
]
|
||||
}'
|
||||
```
|
||||
Reference in New Issue
Block a user