Thanks! Did that... still having issues. I'll do some more research on my end. I get a 400 error with the following message "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."@Bradley - To make your life easier, from Backend > Settings > API, disable the signature check![]()
@twisted1919 - thank you. Got the CORS sorted. But, when I make a get request to add a subscriber, I t get status 200 ok, but the response is a form to complete and the entry doesn't go into the database. Here's the "network" debug information. Anyone have an idea of how to fix this?@Bradley - You are doing cross-domain requests, this isn't a mailwizz thing but it's just how browser will reject such requests if they are done from different domains.
You need to add CORS headers in the server where mailwizz is installed, see https://enable-cors.org/server_apache.html
[LIST=1]
[*]Request URL:
https://app.mysticmailer.com/lists/qz9268x2cx6c0/subscribe?EMAIL=asdfasd@asdfasdf.com&FNAME=asdfasd
[*]Request Method:
GET
[*]Status Code:
200 OK
[/LIST]
Now that you ask...@Bradley - if you hit any particular issue, please ask for help![]()
Brilliant! Thanks. Will work on it shortly@Bradley - If you disable the signature check from Backend > Settings > Api, then please just send a GET request but add the X-MW-PUBLIC-KEY having the value set to the public key. And keep this in mind for all requests, to authenticate at mailwizz, without signature check, just send this header![]()