phpList / rest-api

This module is the REST API for phpList, powered by phpList 4
https://www.phplist.com/
GNU Affero General Public License v3.0
22 stars 12 forks source link

subscriptions method return 404 not found #139

Open LittleCheezyToast opened 3 years ago

LittleCheezyToast commented 3 years ago

Short problem description

After settle phplist on my ubuntu server, the rest of the api method work fine, but except the subscriptions method return 404 not found when i use post method to https://example.com/lists/api/v2/subscriptions. i know this funtion is not include in default so i hv configure the file in /lists/base/rest-api like this PR, but it seem something still not right. any suggestion? thanks

System configuration

Package version

phplist 3.6.4

PHP and Composer version

PHP 7.4.9 Composer 1.10.10

k-tatgenhorst commented 1 year ago

I have also followed this PR.

I am using phplist 3.6.12

php 8.2 (I have updated the JMS Serializer and changed all ReadOnly methods to ReadOnlyProperty and have no outstanding php errors)

I have also cleared cache client side and reloaded/restarted Apache server side. I continue to get 404 errors for subscriptions.

Am very interested in getting this to work and am looking into further debugging. If anyone has any hints, I would accept those as happily as a fix.