getting full HTTP response to HTTP request in urlread
Show older comments
Currently urlread uses the command: urlConnection.getInputStream
and then proceeds to do something fairly confusing to me with copying streams via some unsupported stream copier to produce the final output
Unfortunately when there is an error in my request I get nebulous errors instead of the actual error response. Even when I get a successful request, I am still unable to see the headers which can contain important information for what I am doing.
Example error: java.io.IOException: Server returned HTTP response code: 400 for URL:
By using Matlab's proxy settings I can observe the details of the requests through "Fiddler", which has been most helpful, but it would be nice to be able to observe things more concretely in Matlab.
Accepted Answer
More Answers (0)
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!