How do you apply Query Parameter values to a html document? Or am I misunderstanding this tutorial? I need to set a html or PDF document with 'version' and 'language' (such as: version=v1.1& language='English') parameters/values but how and where are these values applied to individual files located on a website?
Hi Valentina, how can I test the query parameter:? for example, if a query parameter is a measurement like a cm , in, kp, etc, how is possible to test these values? thanks
@@vdespa, for example, I have in the response body, a value in cm and I have the possibility through the query parameter change that value to in, so then I need to check if the value cm was changed properly to in, make sense?
So let's say we have a request like this one - GET: {{URL}}/image/{{ImageID}}}. When we have many different images with different identifiers, it is better to only use a path variable like: id than a varaibale collection like {{imageID}}, am I right?
@@vdespa thanks for helping, I checked it wasn't there but I realized I was using the chrome version when I downloaded the full version(I guess) it was right there below the URL, also it turned out to be the same as writing it manually after the URL.
Thank you a lot! I was a bit confused and you were the only one who had a separate video with a clear explanation.
Glad to hear that! You are welcome. Thank you for leaving a comment.
Thank you, this helped me to better understand the differences between before the Question Mark and after.
Glad it was helpful! You are welcome. Thank you for leaving a comment.
Thanks Buddy, you explained it very clearly
Great information. Thank you from a newbie
Glad it was helpful! You are welcome. Thank you for leaving a comment.
Very Nice explanation ever had...Keep going .
thank you! I was lost and this helped me a lot.
You are welcome and that this was helpful
Clear explanation thank you 👌
Glad it was helpful! You are welcome. Thank you for leaving a comment.
Can you please explain how queryparams are actually written in a REST controller?
Good to know: 04:00
Nice bro.
how to make @QueryParam as optional (example making the name as not required )
How do you apply Query Parameter values to a html document? Or am I misunderstanding this tutorial? I need to set a html or PDF document with 'version' and 'language'
(such as: version=v1.1& language='English') parameters/values but how and where are these values applied to individual files located on a website?
Hi Valentina, how can I test the query parameter:? for example, if a query parameter is a measurement like a cm , in, kp, etc, how is possible to test these values? thanks
@@vdespa, for example, I have in the response body, a value in cm and I have the possibility through the query parameter change that value to in, so then I need to check if the value cm was changed properly to in, make sense?
When to use path variable, when to use query variable?
You need to check the API documentation and see. If you are using an API is not really your decision.
Download the FREE Postman Quick Reference Guide
👉 www.subscribepage.com/postman
Thank you
nice!
Thank you for your comment, Alejandro!
So let's say we have a request like this one - GET: {{URL}}/image/{{ImageID}}}.
When we have many different images with different identifiers, it is better to only use a path variable like: id than a varaibale collection like {{imageID}}, am I right?
You should define a path variable anyway, just to keep things clean. After this, you can manually enter a value or use a Postman variable.
what if I don't have a params tap on postman is it an older version or what ?
Look below the URL. There query params should be there.
@@vdespa thanks for helping, I checked it wasn't there but I realized I was using the chrome version when I downloaded the full version(I guess) it was right there below the URL, also it turned out to be the same as writing it manually after the URL.
If you explain a concept then please take a simple example. Else you are wasting other's time as well.
Thanks for your feedback. Do you mean that the API was too complex for this example?
@@vdespa I think so.
how to use >=,
Can you be a bit more specific please?
Thank you
You're welcome