While using this action, I got some troubles with cross origin policy.
Will be good to send additional headers, for example:
"Access-Control-Allow-Origin", "*"
Thank You, Martin, for server feature!
Write HTTP response headers
Moderator: Martin
Write HTTP response headers
All systems nominal.
Re: Write HTTP response headers
Sure, I'll add this in the next update if time permits.
Regards,
Martin
Regards,
Martin
Re: Write HTTP response headers
It seems like there's already a script function setHTTPResponseHeader to set custom HTTP response headers from an action Script.
I'll also add a text field to the Write HTTP Response ... actions since it's much easier to handle than writing scripts.
I'll also add a text field to the Write HTTP Response ... actions since it's much easier to handle than writing scripts.