Postman desktop application과 달리 웹 버전에서는 Postman Agent라는게 있음
The Postman agent is a micro-application that runs locally on your desktop and acts as your agent for making API calls on your behalf. To overcome limits in the browser, the Postman web interface will now route API calls to the local agent, and the agent will make API requests locally on your behalf, using your local profile, configuration, and network to make each request and pass the response back to the web interface.
Introducing the Postman Agent: Send unlimited API Requests from Your Browser | Postman Blog
Learn how we created the Postman agent to allow developers to make API requests with the web version of Postman.
blog.postman.com
Default는 Auto-select로 돼있어서 사실 별 신경쓸 필요는 없지만-
각 Agent간의 차이가 뭔지는 알아보자.
Browser Agent
Sending a request from your browser
Browser Agent는 제약이 많아서
대부분의 API에서 안됨
Cloud Agent
using postman server to send this request
Postman web에서 요청을 보내면 Postman Cloud Agent에서 Grocery Store API로 request를 보냄
그럼 response를 받아옴
But Cloud Agent로 보낼 수 있는 request에 제약 있음
Desktop Agent
Postman Agent라는 백그라운드에서 돌아가는 additional software 설치해줘야 함
Application을 실행해주면 이렇게 실행하는 걸 확인할 수 있다.
만약 Desktop Agent에서 실행 안되면
- refresh browser
- make sure your desktop agent is running
Resources
https://www.postman.com/downloads/postman-agent/
Postman Agent: For Mac, Windows, & Linux
The Postman agent overcomes the Cross Object Resource Sharing (CORS) limitations of browsers, and facilitates API request sending from your browser version of Postman.
www.postman.com
https://blog.postman.com/announcing-postman-for-the-web-now-in-open-beta/
Announcing Postman for the Web, Now in Open Beta | Postman Blog
Today, we’re proud to announce a new beta version of Postman that we’ve been working on to address a wide range of requests from our fantastic user community: Postman on the web.
blog.postman.com
'Tools > Postman' 카테고리의 다른 글
HTTP headers (0) | 2022.07.10 |
---|---|
API Authentication (0) | 2022.07.10 |
Troubleshooting Postman errors (0) | 2022.07.05 |
Query parameters & Path variables (0) | 2022.06.16 |
Set as a new variable (0) | 2022.06.16 |