Do front-end engineers need to use postman to mock data?

as a front-end engineer, I have been using fiddler to mock data. Inadvertently, I see that postman also has the function of mock data, which seems to be very powerful, but my English is so poor that I have not formally studied and used it yet. Excuse me, are there any front-end partners using postman to mock data? What is the necessity or advantage of using postman to mock data?

Mar.29,2021

it would be nice to have a tool that works.
which works and which is comfortable to use. It makes no difference if
can achieve the function. (mock data can also be done by Charles, you can simply think of mac version of fiddler)

if you want to ask for advantages, cross-platform, unlike fiddler, can only be used for windows
and the postman interface looks good, 23333


you can try the mock tool from rap, Ali:

https://github.com/thx/RAP

supports multi-person collaboration. Before the start of the project, let the backend define the data format, which is not a pleasure to develop


We set up an express server to load a json to mock data according to the route. The real restful api layer is also written by node, using a middleware+ flag to control whether an interface needs to request mock server to return mock data.


there are many such tools, such as the
app class, such as your fiddler, or similar Charles.
plug-in level, if you use webpack packaging, there are also some mock plug-ins for this, such as webpack-api-mocker.
platform class, if you have resources, you can set up an interface platform by yourself, such as Ali's rap and Dasou's easymock.
you can use either one, depending on your habits.

Menu