Mi Lugarcito
API & http 통신 테스트를 위한 Postman 사용법 (Json, xml 등 파싱하기) 본문
blog.naver.com/shino1025/221954060856
API 테스트를 매우 쉽게 해주는 Postman
백엔드단에서 API를 개발할 때, 구현해놓은 자신의 api가 잘 작동하는지 한번쯤 아니 매우 자주 실행시...
blog.naver.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 결과값을 알 수 있다.
'API' 카테고리의 다른 글
KakaoMap - db 등록된 위도, 경도를 가지고 마커 클러스터러 사용하기 (0) | 2021.09.05 |
---|---|
Public API (0) | 2021.04.07 |
Postman으로 워크잡 공공데이터 api 값 가져와보기 (0) | 2021.02.10 |
공공데이터 파싱예제 - 미세먼지 Android 앱 만들기 (0) | 2021.01.29 |
공공데이터 파싱예제 - 날씨 기상청 (0) | 2021.01.29 |