Advanced Rest Client Post data by bypassing UI Anny

Why Posting data by bypassing UI?

When we do function test, we often post data via UI. A good UI will limit the input data, and only allow valid and security data to go to repository.

In fact, a good product should limit the input data in UI as well as back-end.

How to post data by bypassing UI?

We can use Advanced Rest Client(ARC). ARC is an extension in Google Chrome. It can post data directly via sending http or https request.

How to use Advanced Rest Client?

New a request: There are 4 items required - URL, Method, Headers, Body

We can get the items by Developer Tools(Press F12 directly)-Network(For most time, we often focus on Post method)

See screenshot below,

Save a request:

Press Ctrl+S to save 

Share your request:

Options -> Import/Export Manage -> Connect -> Allow -> Store current data on external server

Then you can share the link to your team members.

原文地址:https://www.cnblogs.com/limei/p/2635946.html