eZ Platform Discussions

REST Update Content Problem with section


#1

Hi,

got a problem updating content. EZ platform 2.1:

gets me 406: No route matched gets me 500: Property 'sectionId' not found on class 'eZ\Publish\Core\REST\Server\Values\RestContentCreateStruct'

Using CURL, headers are “x-csrf-token: $csrfToken” “cookie: $sessionname=$sessionident” “Content-Type: application/vnd.ez.api.VersionUpdate+json” “accept: application/vnd.ez.api.Version+json” “X-HTTP-Method-Override: PATCH”

Any ideas?

With best regards
Kunix