This tool provides an online Mock JSON tool, has high-performance JSON services, and supports customization of URL parameters. This tool allows users to quickly generate and simulate JSON data for easy API development and testing. Support dynamic adjustment of response data based on URL parameters to improve development efficiency and testing flexibility.
使用说明
Function introduction
- Use the entered json string as the return parameter
- Support url parameters
- The output of the generated url is mainly determined by the 'token' parameter. Do not modify the 'token'
Usage examples
- No request parameters
[
{
"id": 1,
"name": "test",
"age": 10,
"cls_name": "first day",
"addr": "Chengdu, Sichuan"
},
{
"id": 2,
"name": "test",
"age": 10,
"cls_name": "second day",
"addr": "Chengdu, Sichuan"
}
]
after treatment
http://localhost:9000/toolapi/mockjson?come_from=2&token=d491e4e9771c051021fdcf568cc369c4
- With parameters
{
"id": 1,
"name": "test",
"age": 10,
"cls_name": "first day",
"addr": "Chengdu, Sichuan"
}
after treatment
http://localhost:9000/toolapi/mockjson? come_from=2&user_id=1&token=c7e6d7031b9911793b0b5ae83f50a9a8