I'm trying to create a product via API, tried both POST and PATCH endpoints, both of them are not creating/updating the product.
Requests are returning status 200 and the response body is the exact same as if I would be calling GET request
POST curl example:
curl --location --request POST 'http:/my-akeneo.com/api/rest/v1/products' \ --header 'Content-Type: application/vnd.akeneo.collection+json' \ --header 'Authorization: Bearer ....' \ --data '{"identifier": "test", "family": "Bendras"}'
:bug: I'm reporting a Bug :bug:
Akeneo version: 6.0.95 CE
I'm trying to create a product via API, tried both POST and PATCH endpoints, both of them are not creating/updating the product. Requests are returning status 200 and the response body is the exact same as if I would be calling
GET
request POST curl example:curl --location --request POST 'http:/my-akeneo.com/api/rest/v1/products' \ --header 'Content-Type: application/vnd.akeneo.collection+json' \ --header 'Authorization: Bearer ....' \ --data '{"identifier": "test", "family": "Bendras"}'
Why POST/PATCH is behaving as a GET request?