Curl
Curl
linux에서 command line용 data transfer tool이다. 쉽게 말해 postman과 비슷하다.설치 및 확인
curl -Vapt-get install curl요청 보내기
curl -X ‘GET http://127.0.0.1:3000/api/users/bakyeono’curl -X ‘POST http://127.0.0.1:3000/api/languages/ansi-common’parameter가 있는 요청 보내기
curl -X GET ‘http://127.0.0.1:3000/api?id=’$1header가 있는 요청 보내기
curl -X POST -H ‘Content-Type: application/json’ ‘http://127.0.0.1:3000’
댓글
댓글 쓰기