I am using a keyword “wait for response” in a robot browser library for a GET call. Get call does not have any payload to send so postData is NONE in my case.
But if I write a keyword like this
Wait For Response response => response.url().endsWith(‘students’) && response.request().method() === ‘GET’ timeout=30s
it gives me an error “the JSON object must be str, bytes or bytearray, not NoneType”, this error is occurring because Wait for Response is returning a dict in which there is field call “postData” which is NONE because I have nothing to send as a payload in GET call and while performing JSON.loads operations internally in browser framework, this error is thrown up.
Anyone know how to fix this? Any help is appreciable.