Get1 shell script-curl 활용하여 REST API 요청 요약 - shell script에서 REST API 요청 Solution [GET] curl -H "Content-Type: application/json" -X GET http://localhost:3000 [POST] #linux curl -H "Content-Type: application/json" -d "{'key': 'value'}" -X POST http://localhost:3000 #windows curl -H "Content-Type: application/json" -d "{""key"": ""value""}" -X POST http://localhost:3000 2022. 8. 12. 이전 1 다음 반응형