Rocket

A web framework for Rust. https://rocket.rs (mirror)
git clone git://git.thc420.xyz/Rocket
Log | Files | Refs | README

commit 2495894c37cce8bb6c5a1b60aff3d8153436b8fc
parent 2d924f0f51bdf8cc9f248a743691a4203f124008
Author: Sergio Benitez <sb@sergio.bz>
Date:   Tue, 11 Jun 2019 14:23:12 -0700

Fix route path rendering in pastebin guide.

Resolves #1027.

Diffstat:
Msite/guide/10-pastebin.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/site/guide/10-pastebin.md b/site/guide/10-pastebin.md @@ -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 /&lt;id>** - retrieves the content for the paste with id + * retrieve: **`GET /<id>`** - retrieves the content for the paste with id `<id>` ## Getting Started