How to use a tool to capture the data returned by the Fiddler modification background interface and capture the data returned by the fiddler

Source: Internet
Author: User

How to use a tool to capture the data returned by the Fiddler modification background interface and capture the data returned by the fiddler
How to use a tool to capture data returned by the Fiddler modification background Interface

In client debugging, it is often necessary to deal with the background interface. Sometimes we want to modify the data returned by the background to verify that some functions of the client are in good condition, or sometimes the data returned by the background is not what we want, we can use the packet capture tool Fiddler to modify the data returned by the background.

First, determine the interface to modify. For example, you need to modify the interface here:XXX/psyapi/recommend/recForYou. do
The returned results of this interface are shown in:

The list contains three data entries. to delete the last data entry, follow these steps:

Copy jsondata to javastxtsung. The local_json.txt file is as follows:

On the left-side panel of Fiddler, click the interface to be modifiedXXX/psyapi/recommend/recForYou. do, switchAutoResponder option view, select the first two check boxes, type the absolute path of the local json file into the bottom input box, and clickSave. :


Now, when you request this interface, you will find that the results returned in the background are the same as those returned in the local file. Surprise ~

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.