For create file using Rest API (Nuxeo Platform 8.10 ), Postman
I follow this link "https://doc.nuxeo.com/nxdoc/document-resources-endpoints/"
POST http://NUXEO_SERVER/nuxeo/api/v1/id/{idOfParentDoc}
{
"entity-type": "document",
"name":"newDoc",
"type": "File",
"properties": {
"dc:title": "The new document",
"dc:description": "Created via a very cool and easy REST API",
"common:icon": "/icons/file.gif",
"common:icon-expanded": null,
"common:size": null
}
}
But I am getting 500 exception – “invalid argument exception. No doc type specified” as Response.
How to resolve this issue .