Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
@Shilpa P It looks like you are trying to set a default value for a query parameter in your API. The syntax you provided is correct, but there are a few things you need to check to make sure that the default value is being set correctly:
- Make sure that the query parameter is defined correctly in your API: Check that the query parameter is defined correctly in your API and that it has the same name as the one you are using in your Postman request.
Check that the default value is set correctly: Make sure that the default value is set correctly in your API. You can verify this by checking the API's code or documentation.
- Verify that the query parameter is being passed correctly: Make sure that the query parameter is being passed correctly in your Postman request. You can verify this by checking the request's URL and query parameters.
Check that the API is returning the correct response: Make sure that the API is returning the correct response. You can verify this by checking the response's body and status code.
If you have checked all of these things and the default value is still not being set correctly, please provide more information about your API and Postman request. This will help me provide more specific guidance.