Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to post to Cache Rest-service as https

Question
Simon Bijl · Jan 12, 2021

How to post to Cache Rest-service as https

Hello to all,
 

I created a form in React and submitted the data to a cache-Rest service.
On the local netwok it works just fine.

But when i deploy it on our webserver in order to acces it from the outside it won't work anymore beacuse the external address is a https address, and the call to the cache webserver is based on http.(http://srvdb23:57772/restacc/newOrder)

Resulting in the following error: Referrer Policy: strict-origin-when-cross-origin ( Chrome) 

How should i resolve this? How can I make this rest-service accessible for https?

Best regards,

Simon

#REST API #Caché
Product version: Caché 2017.1

Source URL:https://community.intersystems.com/post/how-post-cache-rest-service-https