cancel
Showing results for 
Search instead for 
Did you mean: 

Web Services API

connect2selva
Champ in-the-making
Champ in-the-making
I see RESTFUL webservices API reference in Alfersco Help section. But for me Im getting 405 error is coming and says WebScriptException.

Could some help me hoe to proceed on this to use API
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
How you are trying to use it?
which document you are referring?
you need to provide proper parameter within proper context to use those APIs

Im referred docs in http://docs.alfresco.com/4.0/index.jsp. Here it mentions we can access web services via
like this  /alfresco/service/api/upload. So I tried accessing http://localhost:8080/alfresco/service/api/upload

mitpatoliya
Star Collaborator
Star Collaborator
If you go to the detail page of that webscript

http://localhost:8080/alfresco/service/index/uri/api/upload
you will understand that this is POST webscript so you need to create one form and provide necessary fields as input parameters and on submission of form you need to specify this url as action so that your form will pass all required fields to webscript and method should be POST.