-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi, Neocities team!
No clue how it slipped past so many people for over 6 years, but i found a bug in the Python API wrapper that you provide (thank you for your generousity, it really helps with my project!)
So it's possible to delete files using log:pass auth using the wrapper. But for token-based auth, the request method is "get" instead of "post", which is not the expected request type. I think that's just a typo; i changed it to "post" on my local copy and now it works.
The line with the bug is #79 @ https://github.com/neocities/python-neocities/blob/master/neocities/neocities.py
Thanx for providing the tools, and i hope this helps improve this one even if just a bit <3
Metadata
Metadata
Assignees
Labels
No labels