Skip to content

add monkeypatch for requests.request #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 2022/python
Choose a base branch
from

Conversation

ZRexshima
Copy link

I've seen a few students calling requests.request instead of request.get. Both methods seem to receive the same response from an API. This adds a monkeypatch to handle that.

@ZRexshima
Copy link
Author

I added a check for the request method. In dev testing check50, it passes code I wrote with "GET" and fails code when changed to "POST".

@ZRexshima ZRexshima requested a review from dmalan June 7, 2025 15:32
@rongxin-liu rongxin-liu self-assigned this Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants