[server][linux]curl post 로 json을 날린다


[server][linux]curl post 로 json을 날린다

사용방법 curl -d '{"key": "value",}' //json String -H "Content-Type: application/json" //json방식을 사용할것이라서 Content-Type을 명시 -X POST http://localhost:8080/login // POST method라고 명시하고 url을 같이 적는다 사용한 예 curl -d '{"id": "admin","passwd": "admin.123"}' -H "Content-Type: application/json" -X POST http://localhost:8080/login...

[server][linux]curl post 로 json을 날린다에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


#application #post #portmethod #method #linux #json #curl #cotentType #applicationJson #server

원문링크 : [server][linux]curl post 로 json을 날린다