[英]How to get csrf token from get api and pass csrf token to another post api using REST Assured?
How to get csrf token from get api and pass csrf token to another post api? 如何从get api获取csrf令牌并将csrf令牌传递给另一个post api?
I have to perform login. 我必须登录。 For this I have to pass 3 parameters:
为此,我必须传递3个参数:
The csrftoken is received using GET https://url.com/account/login in form of response body in DOC format. 使用GET https://url.com/account/login以DOC格式的响应正文形式接收csrftoken。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.