what is path param and query param ? path param vs query param

preview_player
Показать описание
What is path param and query param?

path param:- The path parameter defines the resource location

Here it will go to the directly on this specific path.

query param:- query parameter defines sort, pagination, or filter operations.

Example:-

And Here it will contains key value pair 'q' is like our key and what+is+temperature it will go in it's database and search and filter and sort some results related to this.
Рекомендации по теме
welcome to shbcf.ru