Skip to content

Conversation

@ratnayake
Copy link

create subscriber has wrong endpoint. fixed it

create subscriber has wrong endpoint fixed it
@twisted1919
Copy link
Owner

I don't think that's the case, the url rule in the api is defined as:
array('list_subscribers/create', 'pattern' => 'lists/<list_uid:([a-z0-9]+)>/subscribers', 'verb' => 'POST'),, which means $this->config->getApiUrl(sprintf('lists/%s/subscribers', (string)$listUid)) is the correct endpoint.

@ratnayake
Copy link
Author

but it's not work for me and when i changed subscribers to subscribe works fine

@twisted1919
Copy link
Owner

There has to be something else, check your app versions, additional extensions, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants