본문 바로가기
리액트(React)

블로그 만들기 - Postman의 설치 및 사용

by 즐거운코딩 2023. 7. 5.
반응형

Postman은 macOS, Windows, 리눅스에서 모두 사용할 수 있는 프로그램입니다.

Postman 설치

Postman공식사이트

 

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

이메일 주소로 가입하거나 구글계정을 이용하여 로그인할 수 있습니다. (Sync 기능을 위해 로그인 권장합니다.)

메서드별로 호출해 보기

설치한 뒤 실행하면 다음과 같은 창이 나타나고 GET 셀렉트 박스를 클릭하여 메서드를 선택한 후 주소를 입력하고 Send 버튼을 누르면 요청할 수 있습니다.

POST /api/posts 를 요청해 봅니다.

  • PATCH http://localhost:4000/api/posts/10
  • PUT http://localhost:4000/api/posts/10
  • DELETE http://localhost:4000/api/posts/10

 

반응형