Advanced rest client-post data by bypassing UI

Source: Internet
Author: User

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 shocould 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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.