Fix workspaces prerequisites API to GET instead of POST
Issue: Rails: Convert Rails API to use GET instead of ... (#537904 - closed)
What does this MR do and why?
We introduced the /internal/kubernetes/modules/remote_development/prerequisites API in Rails: Add API that agent will call to fetch in... (#519261 - closed) . As part of reviewing the agentk code which would utilize this API, the maintainer pointed out that we can make this a GET request.
This MR addresses that concern by converting the POST request to a GET request. This is not a breaking change because it was introduced to be utilized by the agentk which has not yet been merged.
References
Screenshots or screen recordings
N.A.
How to set up and validate locally
- Run the unit tests.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Vishal Tak