For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

quangtran's avatar
quangtran
Icon for Cirrus rankCirrus
Jan 31, 2023
Solved

Basic findstr question

Hello everyone, I have a request like this:

{

    "Data": "eyJVc2VyTmFtZSI6ImVjdXN0"

}

I want to get the data snippet: eyJVc2VyTmFtZSI6ImVjdXN0 , i use findstr code like this:

set data [findstr [HTTP::payload] "\"\Data\"\: 9 \"\ "]

log local0. "raw data = $data"

but return is empty data, 

What do I need to change here?

Any and all help is appreciated. Thanks you