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
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.
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
The text was updated successfully, but these errors were encountered: