I want to upload file using aflresco restApi
this is my function
the token before uploading is valid ; it's tested with postman
Solved! Go to Solution.
i used a different identity provider , excluding the alfresco url solved the problem!
Hi,
If you are using a JWT token, you should change "Basic " to "Bearer ". If you can execute this same call through Postman, then I think you should check your HttpRequest and formData objects.
Hope this helps
i used a different identity provider , excluding the alfresco url solved the problem!
Hi @achraf13
Glad you got it resolved and thanks for updating your thread.
Cheers,
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.