Checking for header
removed header info
Added oauth consumer
Testing content type
Corrected response type
Removed method type
Removed RestTemplate use since using HttpURLConnection instead