Skip to content

Making calls with python request returns 502 #2

Description

@erobert98

Using the python request module, i am unable to get any results other than a 502 bad gateway.

Using the same URL in curl returns results but never in the request module.

curl -X GET "http://archive.4plebs.org/_/api/chan/thread/?board=plebs&num=1" this will return the thread

where requests.post("http://archive.4plebs.org/_/api/chan/thread/?board=plebs&num=1") will return 502.

i also tried requests.get("http://archive.4plebs.org/_/api/chan/thread/?board=plebs&num=1") which also returns 502.

Any idea as to what may be causing this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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