http read intiger value from response result

imperialbms 1 year ago in Devices / Http updated by Ricardo Pinto | visiontech pt 1 year ago 2

hello, how to read intiger value from response result?

Image 4517


You can try to add an Integer, and on the token write the following


In practice it should extract the digit to that integer.

Please try it out and tell me if it worked.

Best regards

I have a similar string response from an http device, which returns for example "Credit: 0.010".

I added a Double to the command, an on the Regex I've added (?<=Credit: ).*$ which returns a Double with 0.01 value.

So I assume that if you add something like (?<=result=).*$ it will probably also work.

Best rergards