# Checking body value in response while using Wait for Response

**URL:** <https://forum.robotframework.org/t/checking-body-value-in-response-while-using-wait-for-response/6206>\
**Category:** Browser\
**Created:** [13 September 2023 12:10 UTC](https://forum.robotframework.org/t/checking-body-value-in-response-while-using-wait-for-response/6206 "2023-09-13T12:10:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomekWro](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@TomekWro](https://forum.robotframework.org/u/TomekWro)\
**Post date:** [13 September 2023 12:10 UTC](https://forum.robotframework.org/t/checking-body-value-in-response-while-using-wait-for-response/6206/1 "2023-09-13T12:10:25Z")

</div>

Hello,

I’m trying to create code with Wait for Response:

> Wait For Response response =\> response.url().endsWith(‘/api’) && response.status() == 200

but i would like to check if response has value inside body.  
Is there any way i can wait for response with for example response.body().somevalue?

response is a JSON object, checking has to be done in =\> response.something…

br,  
Tomek
