Question

2
Replies
49
Views
Close popover
Parthasarathi Chakraborty (ParthasarathiC)
Pegasystems Limited

Pegasystems Limited
IN
ParthasarathiC Member since 2017 3 posts
Pegasystems Limited
Posted: June 25, 2018
Last activity: July 6, 2018
Closed
Solved

REST service failed to load on multinode server

I am calling a rest service through javascript within the same pega application
Failed to load http://DomainName:PortNumber/prweb/PRRestService/PackageName/v1/ServiceName?UserID=sampleUserID:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://DomainName' is therefore not allowed access.

Just because I have to give the port number while calling the rest service, it is considering it as a request from different origin. How do I resolve this?

Thanks & Regards,

Aayush Rathore

Data Integration Support Case Parallel
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.