Hello,
I would like to connect to my app with parameters in the url, so with the GET method
When i try this : http://mydomain.fr/share/page/dologin?username=username&password=password
They tell me that the GET method is not supported, so I wanted to know if it was possible to send GET requests and if so, how?
Thanks
The Share application is not meant at all for access / consumption by other applications. It is a user interface. Apart from completely replacing the core Controller implementation behind the dologin endpoint on a Java level, there is no way to turn the POST-only endpoint to supporting GET+ POST.
Not to mention that GET method is wholy inadequate for authentication purposes: any URL parameters (like user + password) are typically recorded in HTTP access logs.
Depending on your integration scenario, you may want to look at the APIs the underlying repository (ACS) provides, e.g. Public ReST API or CMIS.
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.