Forum Discussion
Hi Akanksha11
What's the use case?
A general rule of thumb for RESTful style APIs is to use path parameters to identify a specific resource (perhaps even resources), while query parameters are used to filter or sort the data returned for those resources.
Check out https://swagger.io/docs/specification/describing-parameters/ for some examplesCheers,
Frank
Related Content
- 2 years ago
Recent Discussions
- 7 days ago