Adding headers to curl requests, still needs the data argument.