Written by

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.

Comments

Dmitry Maslennikov · Feb 23, 2017

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

0
Manoj K  Feb 23, 2017 to Dmitry Maslennikov

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

0
Dmitry Maslennikov · Feb 23, 2017

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.

0
Manoj K  Feb 23, 2017 to Dmitry Maslennikov

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.

0
Manoj K  Feb 23, 2017 to Tomas Vaverka

ok, thanks Tomas and I have one question.

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

0