mirror of https://github.com/rwf2/Rocket.git
parent
2d924f0f51
commit
2495894c37
|
@ -22,11 +22,11 @@ curl --data-binary @test.txt https://paste.rs/
|
|||
|
||||
The finished product is composed of the following routes:
|
||||
|
||||
* index: **GET /** - returns a simple HTML page with instructions about how
|
||||
* index: **`GET /`** - returns a simple HTML page with instructions about how
|
||||
to use the service
|
||||
* upload: **POST /** - accepts raw data in the body of the request and
|
||||
* upload: **`POST /`** - accepts raw data in the body of the request and
|
||||
responds with a URL of a page containing the body's content
|
||||
* retrieve: **GET /<id>** - retrieves the content for the paste with id
|
||||
* retrieve: **`GET /<id>`** - retrieves the content for the paste with id
|
||||
`<id>`
|
||||
|
||||
## Getting Started
|
||||
|
|
Loading…
Reference in New Issue