You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great addon thank you very much. I have just uncovered what may or may not be a bug;
I have an address book called "contacts" under .../addressbooks/users//contacts/ which was defined in my config.php as an extra_addressbook ".../addressbooks/users/%l/contacts". I could not add any contacts to it as I was getting a 405 on the put requests and couldn't work out why.
Turns out, according to the logs, the PUT request was being made to .../addressbooks/users/%l/ completely missing the /contacts part of the URL which obviously the server was not happy with.
When I changed the config.php entry to have a trailing slash, the request was made to ../addressbooks/users/%l/contacts/ which was then accepted.
Have I just uncovered a feature that everyone already knew about?
Thanks :)
The text was updated successfully, but these errors were encountered:
Hi, yes that's certainly a bug, thanks for reporting. Typically URLs for collections have a trailing slash, but I am not aware of a requirement for this. I'll look into it when I find some time.
Hi there,
Great addon thank you very much. I have just uncovered what may or may not be a bug;
I have an address book called "contacts" under .../addressbooks/users//contacts/ which was defined in my config.php as an extra_addressbook ".../addressbooks/users/%l/contacts". I could not add any contacts to it as I was getting a 405 on the put requests and couldn't work out why.
Turns out, according to the logs, the PUT request was being made to .../addressbooks/users/%l/ completely missing the /contacts part of the URL which obviously the server was not happy with.
When I changed the config.php entry to have a trailing slash, the request was made to ../addressbooks/users/%l/contacts/ which was then accepted.
Have I just uncovered a feature that everyone already knew about?
Thanks :)
The text was updated successfully, but these errors were encountered: