Skip to content

Conversation

MartyX98
Copy link

@MartyX98 MartyX98 commented Aug 17, 2025

I have added function "withMethod" to be able to specify the HTTP method request type after using "newRequest" method. This is useful for when you need to make a request with a method type different than the default "GET".

I have tested the implementation by querying my Pihole's API endpoint using "GET", "POST", and "DELETE" method types and all went successfully or as expected.

Resolves: #800

@MartyX98
Copy link
Author

I have also changed the base branch to dev due to the guidelines since this is technically a "new feature"

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.

1 participant