Skip to content

Delete method api key authentication method is 'get' typo #11

@kouyouelysian

Description

@kouyouelysian

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions