- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2019 11:01 AM
I'm trying to send POST-request using Alfresco.util.Ajax.jsonPost but I need set my own Header and I can't find how I can do it. I would be happy if someone explains me it's possible or not. And if not so how I can send POST-request differently?
Thanks,
Igor
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2019 05:05 AM
we have Alfresco.util.Ajax.request to modify header, but it only modifies requestContentType and responseContentType. you can use YAHOO.util.connect but you'll have to add the authentication header/ticket manually in the request.
Abbas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2019 05:05 AM
we have Alfresco.util.Ajax.request to modify header, but it only modifies requestContentType and responseContentType. you can use YAHOO.util.connect but you'll have to add the authentication header/ticket manually in the request.
Abbas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2019 05:14 AM
Thank you very much for answer. I think it helps me.
