%% Create Request Line for Hubble Heritage Project Image
% Create an HTTP request line to get an image from the Hubble Heritage Project website.

import matlab.net.http.RequestLine
url = 'http://heritage.stsci.edu/2007/14/images/p0714aa.jpg';
reqline = RequestLine('get',url,'HTTP/1.1');
string(reqline)

% Copyright 2012 The MathWorks, Inc.