Cute Happy Ghost
본문 바로가기
server·network

[postman] curl명령어 포스트맨에서 가져오기, curl import, code snippet import

by JENN_tech7 2022. 10. 11.
728x90
SMALL

API를 테스트해보기 좋은 사이트인 postman

https://www.postman.com/

 

Postman API Platform | Sign Up for Free

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.

www.postman.com

 

 

귀찮은 api명령어를 코드스니펫으로 관리할 수 있다

저장해놓은 curl 명령어를 import하여 가져올 수 있다

 

 

상단의 my workspace 에서 import클릭

 

 

 

 

 

raw text클릭

 

 

 

 

 

 

회색 영역에 curl명령어를 복붙하고  continue한다

test로 넣어줬다

 

 

 

 

그러면 이렇게 curl명령어대로  POST방식과 url, key값 value값이 다 자동으로 설정되서 너무 편하다

 

 

다시 curl명령어를 확인하고 싶으면 옆에 </> 버튼을 누르면 코드 스니펫이 뜬다

 

728x90
LIST

댓글