Manoj K · Apr 1, 2017 go to post

This error I got

HttpRequest cannot load http://localhost:57772/api/project. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:57773' is therefore not allowed access. The response had HTTP status code 401.

Manoj K · Mar 10, 2017 go to post

I use default web server has been used by Management Portal.

Manoj K · Mar 3, 2017 go to post

It accepts only Get method. If I give another method, it shows 'Method not allowed'.

Why the method doesn't accept the post or put or delete method?

Manoj K · Mar 2, 2017 go to post

I tried the Demo.REST.MathService.cls  and I also configured the web server.

in that program, they mentioned Dispatch class as EnsLib.REST.Service, so I  added it

I tried in the both link.

http://localhost:57772/csp/ENSDEMO/rest/2/3

http://localhost:57772/csp/ENSDEMO/rest/sum/2/3

I couldn't run the program

Manoj K · Mar 1, 2017 go to post

Ok Gery. 

I need one small sample or example,

If you have it, can you share it?

Manoj K · Feb 23, 2017 go to post

ok, thanks Tomas and I have one question.

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

Manoj K · Feb 23, 2017 go to post

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.

Manoj K · Feb 23, 2017 go to post

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