mirror of
https://github.com/darmiel/yaxc.git
synced 2024-11-15 20:37:42 +08:00
18 lines
594 B
Go
18 lines
594 B
Go
package server
|
|
|
|
const body = `
|
|
__ __ ______ __ __ ______
|
|
/\ \_\ \ /\ __ \ /\_\_\_\ /\ ___\
|
|
\ \____ \ \ \ __ \ \/_/\_\/_ \ \ \____
|
|
\/\_____\ \ \_\ \_\ /\_\/\_\ \ \_____\
|
|
\/_____/ \/_/\/_/ \/_/\/_/ \/_____/
|
|
|
|
Just POST your contents to /:anywhere
|
|
POST /:anywhere your contents
|
|
GET /:anywhere for your contents
|
|
|
|
GET /hash/:anywhere for content hash
|
|
POST /:anywhere?ttl=3m for custom TTL
|
|
|
|
POST /:anywhere?secret=password to protect your contents
|
|
GET /:anywhere?secret=password to get protected contents`
|