Cleaned up lines.
Modified to variable request method. Default 'GET'