POST and PATCH requests check for Content-Type