preface

Postman is an API debugging tool. If you have done Web interface, you should be familiar with it.

Through it can complete Http interface debugging, testing students can also do some automatic tests based on this. Postman also offers other advanced features, but for an additional fee, businesses still need to eat right.

The new Version of the Chrome app, along with the Postman Interceptor plug-in, allows you to test some interfaces that require login information. Postman later discontinued the Chrome app version and developed the MAC/Windows/Linux version based on Electron.

In this way, Postman is cross-platform. But this brings some trouble, every time you change a computer, you need to download again, install. For less powerful computers, the installation will fail and the performance will be slow.

When Liyas Thomas used Postman to do API tests, the computer performance was not good, just could not run Postman. This made me very upset, so I picked up the computer, using Vue+Html+Css, self help an API debugging tool Postwoman, Github address: github.com/liyasthomas… .

Postwoman doesn’t need to download the client app, just open postwoman.io in a browser and experience it. You can also install the PWA application and use it offline.

Postwoman features:

  • Lightweight: Simple UI design
  • Fast: Send requests in real time and get/copy accordingly
  • Cross-platform: with the help of a browser, support cross-platform, multi-client use

The main function

HTTP debugging

Main functions:

  • Supports methods such as Get, Post, Head, Put,DELETE, and CONNECT
  • Supports custom Header request headers
  • 🔐 Authentication is supported
  • You can import or export curl
  • Request parameters can be set

This part of the function is basically the same as Postman, so there is not much learning cost to migrate from Postman.

If you haven’t used Postman before, that’s fine. Postwoman comes with demo, can be used quickly.

websocket

Support debugging websocket, can send and receive data.

GraphQL

Support for GraphQL API queries.

Custom Configuration

Support for a variety of themes: Kinda Dark (default), Clearly White, Just Black, and System theme, as well as color highlights. Overall, the UI looks pretty good.

PWA

PWA: Progressive Web Apps (Progressive Web applications) make Web services feel like native Apps, without additional packaging or signatures, and can run offline. No matter from the appearance or execution effect, and the general application is the same, after the installation is completed, you can directly click on the desktop to run.

Main features:

  • offline
  • Lower memory /CPU usage
  • Desktop PWA support

Collections/History

Postwoman keeps a history of execution requests locally, and we can save requests to Collections as needed. Alternatively, you can log in using Github/Google, and both history and Collections can be synchronized to the cloud in real time.

internationalization

At the end of the page, you can switch languages. Even if you switch to simplified Chinese, the site will still display English, so the Chinese translation is not complete yet. Interested friends, you can go up and make a contribution.

Custom development

We can choose to download the postWoman source code, customize it, add features suitable for our team, and deploy it on the corporate Intranet. Postwoman offers it in three ways:

The NPM local build runs

git clone [email protected]:liyasthomas/postwoman.git
npm install
npm run dev
Copy the code

docker-compose

git clone [email protected]:liyasthomas/postwoman.git
docker-compose up
Copy the code

docker

#pull
docker pull liyasthomas/postwoman
#run
docker run -p 3000:3000 liyasthomas/postwoman:latest
#build
docker build -t postwoman:latest
Copy the code

After running the above three methods, open the browser to http://localhost:3000 for experience

conclusion

Overall, PostWoman is an API debugger with high performance, convenience, and functionality comparable to Postman. If you find Postman difficult to install and slow to run, try PostWoman.

Welcome to pay attention to my public account: procedures to get daily dry goods push. If you are interested in my topics, you can also follow my blog: studyidea.cn