Specified the contentType for different requests to prevent errors when clients supply their own contentTypes

#947