8000 Add query params for GET requests and body json params for POST requests by icostan · Pull Request #21 · agentjido/jido · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add query params for GET requests and body json params for POST requests #21

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

Merged

Conversation

icostan
Copy link
Contributor
@icostan icostan commented May 9, 2025

No description provided.

- Add params handling for GET requests

- Add json handling for POST requests

- Add test cases for request options
@icostan icostan marked this pull request as ready for review May 9, 2025 18:20
Copy link
@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR adds proper parameter handling for HTTP requests in the ReqAction module, implementing query parameters for GET requests and JSON body parameters for POST requests.

  • Added conditional parameter handling in make_request to use :params for GET and :json for POST/PUT requests
  • Added SimplePost test module to verify POST request functionality
  • Added test coverage for query parameter handling in GET requests
  • Added test coverage for JSON body parameter handling in POST requests
  • Improved request option building with proper parameter placement based on HTTP method

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@mikehostetler mikehostetler merged commit 3c7472c into agentjido:main May 9, 2025
3 checks passed
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.

2 participants
0