Set content type for POST and PUT requests

Without content type if one of the fields has "+" character weird things happen (e.g. custom_data starts to contain user_id etc.).
This is triggered by email addresses with plus extension (e.g. "user+ext@domain.com").