• REST Service Control not complying the HTTP server custom headers

    By miguel calvo 10 years ago

    Hi,
    We've got Domino 8.5.3 UP1. We have HTTP Internet Sites Enabled and a web site rule, being the type of rule “HTTP response headers” to set “Access-Control-Allow-Origin” to “*” in order to be able to integrate with a PhoneGap application.
    Everything tested and working fine if using forms, pages or Xpages to publish json content. But, if you use a REST Service Control, the custom headers don't get applied so this control is unusable if used in this type of applications.
    Is there a way to control the HTTP Headers generated when accessing a REST Service Control. Ex: http://server/ddbb.nsf/myXPage.xsp/getCustomJSONContent.

    Thanks,

    Miguel Angel