zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    CSS基础——基本单位
    CSS基础——表格
    CSS基础——列表
    Single-Source Shortest Paths
    Maximum Flow
    Breadth-First Search
    Depth-First Search (III)
    Depth-First Search (II)
    Depth-First Search (I)
    Simple Complete Search
  • 原文地址:https://www.cnblogs.com/limei/p/2635946.html
Copyright © 2011-2022 走看看