I am trying to create a product using POST REST API call :
http://localhost:3000/api/v1/products
Headers:
Accept:application/json
Content-Type:application/json
X-XSRF-TOKEN:cjic0uzjp000jrz4qe7nozq4w
Response:
{
“error”: “error”
}
I am not able to create a resource. Can someone help me?