Remove api_key
Removed JSON encoding of data
added content-type header