I have a newsletter function on an existing site and needs integration to a newsletter server. The newsletter server uses an API and you must implement this API to add and remove users.
The present site is implemented as simple HTML pages.
Make a PHP script to take the input of given name, surname and email address and subscribe or unsubscribe.
The user will be redirected to a new page with the information of the result.
The newsletter server will need an URL like <[url removed, login to view]@[url removed, login to view]>
<4d4b121643f8e88ec3764ab22a092f2c/list/johns-donuts/email/[url removed, login to view]@[url removed, login to view]>
The newsletter server will return a result of the action.