trpc-openapi icon indicating copy to clipboard operation
trpc-openapi copied to clipboard

Query parameters on POST request

Open imding opened this issue 2 years ago • 1 comments

Hi! I found this example from the NPMpage for trpc-openapi: image I can't seem to get the query parameter to come through the input after changing the method to POST.

Is there a way to get the query param on a POST request using trpc-openpai? I'm not using the body because the route is meant for 3rd party use and I don't have control over what gets sent over in the body, I do have control over the route that they will call, so I am trying to put the information in the URL.

Thanks!

imding avatar Jun 12 '23 13:06 imding

This is not currently possible. Not sure I understand the use-case, but PR's are welcomed 🙌

jlalmes avatar Jun 30 '23 15:06 jlalmes