Two judgments are necessary,Is that right
You cannot do this. You have 2 options
Option 1
IF STRINGKEY @fzck Contains @zqck
IF INTKEY @data.RESPONSECODE EqualTo @ztm
data.STATUS = "SUCCESS";
return;
END
END
Option 2: use C# directly
if (CheckCondition(data, data.COOKIES.AsString(), StrComparison.Contains, “x-acbjp”) && CheckCondition(data, data.RESPONSECODE.AsString(), StrComparison.EqualTo, “302”))
{
data.STATUS = “SUCCESS”;
return;
}
if (CheckCondition(data, data.RESPONSECODE.AsString(), StrComparison.EqualTo, “302”) && CheckCondition(data, data.COOKIES.AsString(), StrComparison.DoesNotContain, “x-acbjp”))
{
data.STATUS = “CUSTOM”;
return;
}
This right? This right?
No because if the first statement is correct, then it calls return;
which ends the execution, so if you want to do it like this you should return only after all the checks.
yes That’s how I do it. If these two are right, I’m going to end it. Otherwise, I’m going to move on
Then if it works I guess it’s fine
this is ok?? So can I write it this way
Can’t you do some tests? Just create a new config, assign the variables some dummy values and check if this is the exact flow that you are looking for, because I don’t understand what you need to do
Hahaha, thank you very much
One more question I have is how to interconnect captcha,,It’s a local API and it’s just a URL post content
You need to use the normal request block then, you cannot use the captcha blocks.
thanks How do I post the byte set of pictures
The bytes of the picture are in the data.RAWSOURCE
variable after you download it. Then you can send e.g. as base64 or as a multipart request depending on what the api wants
Because my captcha software only supports byte set post
You can use a post request with raw content and send the bytes over there
Super thanks so much for bringing your brother