Status Code in Web DAT

Hey guys,

I’ve found some examples on the forum about how to use the Web DAT and parse the response in JSON. All fine. My concern is more about how to parse the status code (e.g. 200, 404, …) in order to check the response before parsing the JSON? How is it possible to get access to this code in the Web DAT?

The only way I’ve found so far is by including the headers in the Web DAT response, and then having to do a manual parsing to extract the status code, and find the beginning of the json format… pretty cumbersome.

Any smarter/better way?

Thanks!