Hi,
I have a campaign sequence which send an HTTP Post to our own API which then triggers actions at third party systems.
However: I grand api access only to specific origins via
header("Access-Control-Allow-Origin: ".$http_origin);
Problem:
It looks like Infusion doesn’t provide $_SERVER[‘HTTP_ORIGIN’] value?
Due to this, I cannot “authenticate” Infusion to access our api (to white list “appname.infusion.com”).
Is my observation correct? Any suggestions on how I could solve this?
Best,
Martin
P.s.: Our API once denied Infusion access to itself: Now I’m under the impression Infusion doesn’t POST at all anymore??
UPDATE: No, it still POST to our API. I took a couple of minutes, though…