accepts content type for json requests