jQuery Ajax POST not working with MailChimp

前端 未结 3 790
伪装坚强ぢ
伪装坚强ぢ 2021-01-02 08:59

I have the following code I am using to send data to a MailChimp Newsletter List (API v3). Everytime I remove the type: POST from the function it attempts to p

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-02 09:53

    e.preventDefault();
    data = {
      "apikey" : "667378947", 
      "id" : "90298590285", 
      "email_address" : "test@getmoxied.net", 
      "output" : "json"
    };
    

    Could be? Semicolon is important. Hehe

提交回复
热议问题