API call problem

tecno

New Member
Hello.

I have a problem when I send a request to MailWizz API.
The API call is: "$response = $endpoint->deleteByEmail('xxxxx', 'john@doe.com');"
The server returns "HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)"

What is the problem?
Thank you very much!
 

twisted1919

Administrator
Staff member
That's something you should check with your server configuration/logs.
The API itself just sends a DELETE http request to the endpoint, so make sure your server allows DELETE beside GET and POST.
 
Top