REST API에 대해 공부하다가 curl이라는 것을 알게되었다.
💡 다양한 통신 프로토콜을 이용하여 데이터를 전송하기 위한 라이브러리와 명령 줄 도구를 제공하는 컴퓨터 소프트웨어 프로젝트이다. (client URL)
커맨드 창에서 쓸 수 있는 라이브러리이다.
💻 맥북 기준!
curl testdomain.com
curl -O http://testdomain.com/testfile.tar.gz
curl -o newtestfile.tar.gz http://testdomain.com/testfile.tar.gz
curl -I www.testdomain.com
curl [URL]
curl -data "text=Hello" [URL]
참고: https://www.hostinger.com/tutorials/curl-command-with-examples-linux/