Dragon Arrow written by Tatsuya Nakaji, all rights reserved animated-dragon-image-0164

【下位10%のダメなエンジニアにだけ解けないパズル】

updated on 2019-03-18

【下位10%のダメなエンジニアにだけ解けないパズル】



$ curl http://challenge-your-limits.herokuapp.com/call/me
{"message":"Almost! It's not GET. Keep trying."}

近い!GETじゃないよ、続けて!


$ curl -X PUT http://challenge-your-limits.herokuapp.com/call/me
{"message":"No No. Not this way"}

違う違う、その方法じゃないよ。


$ curl -X DELETE http://challenge-your-limits.herokuapp.com
{"message":"No No. Not this way"}

違う違う、その方法じゃないよ。


$ curl -X POST http://challenge-your-limits.herokuapp.com/call/me
{"message":"Great! Please register as /challenge_users"}

素晴らしい、”/challenge_users”として登録してね。


$ curl http://challenge-your-limits.herokuapp.com/challenge_users
{"message":"GET? No. No."}

GET?違う違う。


$ curl -X POST http://challenge-your-limits.herokuapp.com/challenge_users
{"message":"Validation Error, [:name, \"can't be blank\"]"}

バリデーションエラー。nameパラメータは空にはできません


$ curl -X PUT -d "name=twinko" http://challenge-your-limits.herokuapp.com/challenge_users
{"message":"No No. Not this way"

違う違う、その方法じゃないよ。


$ curl -X POST -d "name=twinko&email=twinko@email.com" http://challenge-your-limits.herokuapp.com/challenge_users
{"message":"Thanks! Please access to http://challenge-your-limits.herokuapp.com/challenge_users/token/hBu3uvLtGio

ありがとう、http://challenge-your-limits.herokuapp.com/challenge_users/token/hBu3uvLtGioにブラウザでアクセスしてください。


あれ、もうできた...