Update notes to heroku
This commit is contained in:
parent
187147113f
commit
3b7354ef00
1 changed files with 4 additions and 3 deletions
|
@ -10,6 +10,7 @@ Simple sample
|
||||||
|
|
||||||
note:
|
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 http://lets-talk-apis.herokuapp.com/jokes
|
||||||
curl -X PUT --data 'joke[joke]=New Joke&joke[punchline]=Punchline' http://localhost:9292/jokes/1
|
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 DELETE http://localhost:9292/jokes/1
|
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
|
||||||
|
|
Loading…
Reference in a new issue