Skip to content

Commit

Permalink
Merge pull request #764 from jswrenn/patch-1
Browse files Browse the repository at this point in the history
Fix port in `curl` invocation in example.
  • Loading branch information
yoshuawuyts authored Dec 18, 2020
2 parents 88d552e + 57fada2 commit c5098a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
//! ````
//!
//! ```sh
//! $ curl localhost:8000/orders/shoes -d '{ "name": "Chashu", "legs": 4 }'
//! $ curl localhost:8080/orders/shoes -d '{ "name": "Chashu", "legs": 4 }'
//! Hello, Chashu! I've put in an order for 4 shoes
//!
//! $ curl localhost:8000/orders/shoes -d '{ "name": "Mary Millipede", "legs": 750 }'
//! $ curl localhost:8080/orders/shoes -d '{ "name": "Mary Millipede", "legs": 750 }'
//! number too large to fit in target type
//! ```
//! See more examples in the [examples](https://github.com/http-rs/tide/tree/main/examples) directory.
Expand Down

0 comments on commit c5098a9

Please sign in to comment.