Forum Discussion
frankkilcommins
2 years agoStaff
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 examples
Cheers,
Frank
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 19 days ago