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. 2f226e7b72a8b4f9e1c46b08963192ba5b13ac7f