I have a Mirth server processing RAW (stringified) JSON messages.
I am unable to POST JSON to Mirth if they're on different domains.
example:
Mirth is in a remote domain (A)
and I'm sending a message from my personal machine, localhost (B)
I'm POSTing with jQuery, and I'm getting errors related to 'same origin policy'.
Do I have to specify anything in Mirth in order to allow for this?
Or is it the way I'm sending the message that needs refinement?
I've tried to add the following headers to Mirth without success.

TL,DR: How should I be POSTing and handling cross-domain JSON with Mirth?
I am unable to POST JSON to Mirth if they're on different domains.
example:
Mirth is in a remote domain (A)
and I'm sending a message from my personal machine, localhost (B)
I'm POSTing with jQuery, and I'm getting errors related to 'same origin policy'.
Do I have to specify anything in Mirth in order to allow for this?
Or is it the way I'm sending the message that needs refinement?
I've tried to add the following headers to Mirth without success.
TL,DR: How should I be POSTing and handling cross-domain JSON with Mirth?
Mirth and Cross-origin resource sharing (CORS)
0 commentaires:
Enregistrer un commentaire