Processing the API response currently only works when receiving JSON data, otherwise the content other than the HTTP headers will be ignored.