Curl header application json. Patch запрос. пример json запроса. get post patch запросы. curl post запрос.