From 3b7354ef00551114201eef4f736e4d77743f0967 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 13 Oct 2015 14:58:13 -0400 Subject: [PATCH] Update notes to heroku --- slides/a-restful-example.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/slides/a-restful-example.md b/slides/a-restful-example.md index 0f071a2..7205b91 100644 --- a/slides/a-restful-example.md +++ b/slides/a-restful-example.md @@ -10,6 +10,7 @@ Simple sample note: -curl --data 'joke[joke]=Why did the chicken get to the other side&joke[punchline]=To get to the other side' http://localhost:9292/jokes -curl -X PUT --data 'joke[joke]=New Joke&joke[punchline]=Punchline' http://localhost:9292/jokes/1 -curl -X DELETE http://localhost:9292/jokes/1 +curl http://lets-talk-apis.herokuapp.com/jokes +curl -X POST --data 'joke[joke]=Why did the chicken get to the other side&joke[punchline]=To get to the other side' http://lets-talk-apis.herokuapp.com/jokes +curl -X PUT --data 'joke[joke]=New Joke&joke[punchline]=Punchline' http://lets-talk-apis.herokuapp.com/jokes/1 +curl -X DELETE http://lets-talk-apis.herokuapp.com/jokes/1