urlread2

Generalizes HTTP requests, providing more control and access to input and output
12.6K Downloads
Updated 26 Mar 2012

View License

Version 1.1

Replacement for urlread. Example functions in the urlread2 file show how to make equivalent calls as are made in urlread. Helper functions can be written (some provided) to provide additional functionality without always needing to modify the urlread2 code.

Specific improvements:
- improved unicode support
- improved binary retrieval support
- request and response header access
- response status access

A technical description of the implementation can be found at:
http://undocumentedmatlab.com/blog/expanding-urlreads-capabilities/

Cite As

Jim Hokanson (2024). urlread2 (https://www.mathworks.com/matlabcentral/fileexchange/35693-urlread2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Changed description

1.1.0.0

Fixed GET example and code now returns HTTP status codes that are errors along with the error text instead of just throwing an error.

1.0.0.0