
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2021 01:01 AM
I want to upload file using aflresco restApi
this is my function
the token before uploading is valid ; it's tested with postman
- Labels:
-
Alfresco Content Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2021 02:33 AM
i used a different identity provider , excluding the alfresco url solved the problem!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2021 02:13 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2021 02:33 AM
i used a different identity provider , excluding the alfresco url solved the problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2021 07:02 AM
Hi @achraf13
Glad you got it resolved and thanks for updating your thread.
Cheers,
Problem solved? Click Accept as Solution!
