Question
· Feb 23, 2017

How to run REST.DocServer class file in local server?

I'm new to learn Rest Services in Cache.

I have REST.DocServer class file in local system. When I tried to run this file I have the error as HTTP ERROR 403. 

Can anyone help me to run this sample Rest Services program?

Thanks in Advance.

Discussion (7)0
Log in or sign up to continue

As Dmitry wrote above, you shouldn't use  http://localhost:57772/csp/samples/REST.DocServer.cls ,  this is not correct call for REST services.

Correct URL to get list of namespaces is http://localhost:57772/csp/samples/docserver/namespaces in with GET method. Look at the http://localhost:57772/csp/documatic/%25CSP.Documatic.cls?LIBRARY=samples&CLASSNAME=REST.DocServer  class documentation for further available methods.