Valentine’s Day is coming, postman has taken off the bill, so you?

Time:2020-10-29

Valentine's Day is coming, postman has taken off the bill, so you?

preface

PostmanIs an API interface debugging tool, has doneWebThe interface should have been touched more or less.

Valentine's Day is coming, postman has taken off the bill, so you?

It can be done through itHttpInterface debugging, testing students can also do some automatic testing based on this. in additionPostmanIt also provides other advanced functions, but it needs to be charged separately. After all, commercial companies still want to have a good meal.

It was just used by little black brotherChromeApplication version, withPostman InterceptorPlug in, you can test some interfaces that need login information. laterPostmanstop itChromeApplication version, based onElectrondevelopmentmac/windows/linuxApplication version.

In this way,PostmanIt can be used across platforms. However, this will bring some trouble, every time you change a computer, you need to download and install again. For computers with poor performance, the installation may fail and run slowly.

A foreign name is calledLiyas ThomasusePostmandoAPIWhen testing, the computer performance is not good, just can not runPostman。 This makes me very unhappy, so I picked up the computer and used itVue+Html+CssA debugging tool for API interface was built by myselfpostwoman, GitHub address: https://github.com/liyasthomas/postwoman 。

postwomanThere is no need to download the client application, just use the browser to open it postwoman.io You can experience it. In addition, it can be installedPWAApplication, can also be used offline.

Valentine's Day is coming, postman has taken off the bill, so you?

postwomanMain features:

  • Lightweight: simple UI design
  • Fast: send requests in real time corresponding to get / copy
  • Cross platform: with the help of browser, it supports cross platform and multi client use

major function

HTTP debugging

Main functions:

  • supportGetPostHeadPut ,DELETE,CONNECTAnd so on
  • Support customizationHeaderRequest header
  • Support inputAuthenticationAuthentication function
  • Support import / exportcurl
  • Request parameters can be set

Valentine's Day is coming, postman has taken off the bill, so you?

This part of the basic functions andPostmanConsistent, so fromPostmanThere is not too much learning cost to transfer to start.

If you haven’t used it beforePostmanThat doesn’t matter.postwomanBuilt in operationdemoYou can get started soon.

websocket

Support debuggingwebsocketCan send and receive data.

Valentine's Day is coming, postman has taken off the bill, so you?

GraphQL

supportGraphQL APIQuery.

Valentine's Day is coming, postman has taken off the bill, so you?

Custom configuration

Supports a variety of topics:Kindla dark (default), clearly white, just black and system themeIn addition, you can set the highlight color with it. Overall, thisUIThe appearance is still relatively high.

Valentine's Day is coming, postman has taken off the bill, so you?

PWA

PWA: Progressive Web Apps(progressiveWebApplication) can makeWebNative Web ServicesAppWithout additional packaging or signature, it can be run offline. No matter from the appearance or execution effect, it is no different from the general application. After the installation is completed, you can directly click to run on the desktop.

Main features:

  • Offline operation
  • Lower memory/CPUUtilization rate
  • desktopPWAsupport

Collections/History

postwomanThe execution history request record will be saved locally. We can save the request to theCollectionsMedium. In addition, it can be usedGithub/GoogleLogin, history andCollectionsCan be synchronized to the cloud in real time.

internationalization

Page pull to the end, you can switch languages. At present, simplified Chinese is only an empty shell. Even if you switch to simplified Chinese, the website still displays English. It should be that the Chinese translation has not been completed. You are interested in small partners, can go up to contribute a strength.

Valentine's Day is coming, postman has taken off the bill, so you?

Custom development

We can choose to downloadpostwomanSource code, customized development, add functions suitable for their own team, deployed in the company intranet.postwomanThere are three ways to provide:

NPM local build run

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

docker-compose

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

docker

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

After running the above three modes, the browser opens http://localhost : 3000 to experience

summary

Generally speaking,postwomanAs a high beautyAPIIt’s easy to use and easy to debugPostman。 If you thinkPostmanInstallation trouble, slow operation, might as well experiencepostwoman

Welcome to my official account: program communication, get daily dry cargo push. If you are interested in my topic content, you can also follow my blog: studyidea.cn

Valentine's Day is coming, postman has taken off the bill, so you?