1
0
Fork 0

Update notes to heroku

This commit is contained in:
Andrew Tomaka 2015-10-13 14:58:13 -04:00
parent 187147113f
commit 3b7354ef00
1 changed files with 4 additions and 3 deletions

View File

@ -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