-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with 'Add a new subscriber' in RestAPIclientSimpleExample.php #3
Comments
@dhaude Great to hear that you are playing around with the REST API, |
@xh3n1 - Thanks for your reply - I'm using phpList version 3.4.1 |
This part of the code is an example of adding a new subscriber with hardcoded data that works for me. https://github.com/phpList/RestAPIclientSimpleExample/blob/master/RESTAPIphpListClient.php#L83-L99 |
Hi Dhaude, After the error message returned by PHP you can also see json reply from application. This sample script can not be run successfully twice. |
@LTepliakov Many thanks for sharing your solution! Do either of you feel like patching the example code to prevent conflicting records and allow it to be run multiple times without error? |
Hi there,
today I started to play around with the example file 'RestAPIclientSimpleExample.php'.
Main iterest for me is the part 'Add a new subscriber'.
The first parts of the example is basically working - however for the 'Add a new subscriber' part I am getting the Error message:
Has anyone out there got the 'Add a new subscriber' part correctly working?
The text was updated successfully, but these errors were encountered: