hyperswitch
hyperswitch copied to clipboard
[REFACTOR] Update HTTP Method for Retrieving GSM Records (/gsm/get) API to GET and Retrieve Fields via Query Parameters Instead of Request Body
Feature Description
Currently, the GSM Retrieve API (/gsm/get) accepts requests using the POST method, with fields being submitted in the request body. Ideally, it should be a GET method API, with fields accepted as query parameters
Possible Implementation
Change the HTTP method of the GSM Retrieve API (/gsm/get) to GET and modify it to accept fields in the query parameters
I would like to work on this :)
Sure, @goku321, I've assigned it to you. Thanks for your interest. Feel free to use the issue thread or our Discord channel if you have any queries.
Sure, @sai-harsha-vardhan. Thanks :)
Hey @goku321, If you are stuck / need some help, please feel free to ask queries here / our discord channel. Thanks!
Hi @sai-harsha-vardhan Thanks for the follow up. I started making the changes but then got caught up with some other things. I will try to finish this within this week. Will reach out if I have any questions. Thanks :)
@goku321, Thanks for the update!
Hi, I would like to ask if @goku321 is still working on this and if not, @sai-harsha-vardhan is this still something someone is working on? Because we need this so the openapi spec is correct, and does not generate a warning about a body in a get; delete request.
Thanks
Hi @GunniBusch I made multiple attempts but couldn't conclude it due to a busy schedule. Please feel free to take this up. I would really appreciate that. Thanks for your patience