Question
Manoj K · 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.

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

Please put some example of your code here, and how exactly you call your REST.

This is an example program for rest services[REST.DocServer ], already given in 'samples' namespace.

Looks like, you call this service in the wrong way. I would suggest, that you call it by URL http://localhost:57772/csp/samples/REST.DocServer.cls while you should use this URL http://localhost:57772/csp/samples/docserver/namespaces
But before you should activate application /csp/samples/docserver, for details look at the documentation.

Is it possible execute this URL http://localhost:57772/csp/samples/docserver/namespaces in PostMan?

And I tried the first URL http://localhost:57772/csp/samples/REST.DocServer.cls, still, now it shows me the same error.

ok, thanks Tomas and I have one question.

Is it possible execute this URL http://localhost:57772/csp/samples/docserver/namespaces in PostMan?