added case for getJsonResponse, some api's does not return results, unex...

Some API Endpoints returns blank response, they just return headers which has an information if the request is successful, especially when request method use is PUT and PATCH. JSON.parse will throw unexpected end of input error. 60ffb505cf320e1fba25967d6c33f9210989c964