Troubleshooting API Call Structure

In this meeting, the State Changers are discussing an issue with an API call. They are trying to determine why the menu ID is not being called correctly. It is discovered that the menu ID is required based on the endpoint structure, even though it was initially thought to be optional. The purpose of the API call is to retrieve a menu from a custom API. The discussion then shifts to modifying the API call to make the menu ID optional. It is suggested to remove the unused top-level API and rename the remaining API to simply "menu". After making the necessary changes, the menu ID is verified as being optional in the swagger documentation. It is concluded that integrating the variable into the path made it a required parameter, and using a query parameter instead would solve the issue. The meeting ends with gratitude and agreement on the solution.

(Source: Office Hours 2/20 )

State Change Members Can View The Video Here

View This Video Now

Join State Change Risk-Free