Mi Lugarcito

API & http 통신 테스트를 위한 Postman 사용법 (Json, xml 등 파싱하기) 본문

API

API & http 통신 테스트를 위한 Postman 사용법 (Json, xml 등 파싱하기)

selene park 2021. 2. 10. 14:02

blog.naver.com/shino1025/221954060856

 

API 테스트를 매우 쉽게 해주는 Postman

백엔드단에서 API를 개발할 때, 구현해놓은 자신의 api가 잘 작동하는지 한번쯤 아니 매우 자주 실행시...

blog.naver.com

 

 

 

www.postman.com/

 

Postman | The Collaboration Platform for API Development

Postman makes API development easy. Our platform offers the tools to simplify each step of the API building process and streamlines collaboration so you can create better APIs faster.

www.postman.com

 

 

예를들어서, 미세먼지 공공데이터 api를 가져와서 json 파싱을 한다고 가정할때

 

필요한 url : http를 빼고 api.weatherplanet.co.kr/weather/dust?version=1&lat=37&lon=127

appKey : 6b200e091d1a4d7e83fb9b4732809b33

이 2가지를 아래 사진과 같이 입력하면

 

 

 

 

선택에 따라 json  결과값

 

선택에 따라 xml 결과값을 알 수 있다.