1
0
mirror of https://github.com/loviuz/http-chained-requests-automator.git synced 2024-12-12 16:26:35 +01:00
http-chained-requests-autom.../params.json
2021-01-23 12:48:50 +01:00

41 lines
972 B
JSON

[
{
"url": "http://localhost/mysite/login",
"method": "POST",
"headers": null,
"body": "username=admin&password=s3cr3t",
"header-regexp": [
{
"next_url": "/Location: (.+?)$/"
},
{
"cookie": "/Set-Cookie: (.+?)$/"
}
],
"body-regexp": null
},
{
"url": "http://localhost§next_url§",
"method": "GET",
"headers": {
"Cookie": "§cookie§"
},
"body": null,
"header-regexp": null,
"body-regexp": [
{
"email": "/<p>Your email is: (.+?)<\\/p>/"
}
]
},
{
"url": "http://localhost/mysite/sign-up",
"method": "POST",
"headers": {
"Cookie": "§cookie§"
},
"body": "op=signup&email=§email§",
"header-regexp": null,
"body-regexp": null
}
]