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

Показать описание
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.
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.