added content-type application/json to json requests