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

  • 相关阅读:
    拍皮球 (Java实现)
    余弦 (java实现)
    循环输出
    从1输出n位数字
    数值的整数次方
    旋转数组的最小数字
    简单使用栈实现队列
    重建二叉树
    链表逆序输出
    替代空格
  • 原文地址:https://www.cnblogs.com/limei/p/2635946.html
Copyright © 2020-2023  润新知