postman and form-data working nice.
postman and raw json not working. same error.
I see the problem, your request is not able to pass the file content with the request. Passing file path in json payload won't work. I am not much familier with PHP so not 100% sure. You can check if the content is being passed properly. When sending the form data from postman, it was able to send the file content.
If you want to use raw json data only then you can use base64 encoded string formation of the file data in the request alternatively.
Can you please share the POSTMAN request?
I tried form data, it is saying BAD Request - "Required parameters are missing". Not sure what I am missing here.
Here is my postman form-data
postman and form-data working nice.
@ni0ni0s - Please help me out by sharing your postman request.
Looks like you are manually placing the file path as string. It will not work. File has to be attached. This is how we select a file in Postman. Rest of the params could be as is.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.