Quick Usage[edit]

POST data[edit]

## A Post request
$ curl --data "" https://api.leo.leung.xyz/recent
$ curl -X POST https://api.leo.leung.xyz/recent
$ curl --request POST https://api.leo.leung.xyz/recent

## Post data
$ curl --data "client_id=75&secret=xyz" https://api.leo.leung.xyz/recent

## Multipart data
$ curl --form "client_id=75&secret=xyz&file=@filename.txt" https://api.leo.leung.xyz/recent

Headers[edit]

$ curl -H "Custom-Header: True" https://api.leo.leung.xyz/recent