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
Solved! Go to Solution.
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.
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.
Thank you very much for answer. I think it helps me.
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.