Updated API (markdown)
parent
03cda72e16
commit
02cddf0bda
2
API.md
2
API.md
@ -284,7 +284,7 @@ Edit entry content. Content fields are f0 - f31.
|
||||
# directupload
|
||||
Upload file from local host. Content has to be base64 encoded.
|
||||
|
||||
`curl -s -d '{"token":"MYSECRETTOKEN","filename":"test.txt","content":"ZWluIHRlc3QgdGV4dAo="}' https://my.domain/v1/directupload/D51305`
|
||||
`curl -s -d '{"token":"MYSECRETTOKEN","filename":"test.txt","comment":"COMMENT","content":"ZWluIHRlc3QgdGV4dAo="}' https://my.domain/v1/directupload/D51305`
|
||||
```json
|
||||
{
|
||||
"success": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user