実際には1行で。
curl -v
-H "Accept: application/json"
-H "Content-type: application/json"
-X POST -d "{\"title\":\"I was born.\",\"rating\":\"9.9\",\"year\":\"1984\"}" http://localhost:8080/movie/tt9999999
More than 5 years have passed since last update.
実際には1行で。
curl -v
-H "Accept: application/json"
-H "Content-type: application/json"
-X POST -d "{\"title\":\"I was born.\",\"rating\":\"9.9\",\"year\":\"1984\"}" http://localhost:8080/movie/tt9999999
Register as a new user and use Qiita more conveniently