Path vs Query Parameters in HTTP Requests (with Postman)

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

ความคิดเห็น • 39

  • @LuckyGnom
    @LuckyGnom ปีที่แล้ว +5

    Thank you a lot! I was a bit confused and you were the only one who had a separate video with a clear explanation.

    • @vdespa
      @vdespa  ปีที่แล้ว

      Glad to hear that! You are welcome. Thank you for leaving a comment.

  • @imcintyre01
    @imcintyre01 ปีที่แล้ว +2

    Thank you, this helped me to better understand the differences between before the Question Mark and after.

    • @vdespa
      @vdespa  ปีที่แล้ว

      Glad it was helpful! You are welcome. Thank you for leaving a comment.

  • @vikrantsingh2804
    @vikrantsingh2804 5 ปีที่แล้ว +2

    Thanks Buddy, you explained it very clearly

  • @wandavazquez6320
    @wandavazquez6320 2 ปีที่แล้ว

    Great information. Thank you from a newbie

    • @vdespa
      @vdespa  2 ปีที่แล้ว

      Glad it was helpful! You are welcome. Thank you for leaving a comment.

  • @sheikahbib
    @sheikahbib 5 ปีที่แล้ว +1

    Very Nice explanation ever had...Keep going .

  • @maryamomar4106
    @maryamomar4106 4 ปีที่แล้ว +2

    thank you! I was lost and this helped me a lot.

    • @vdespa
      @vdespa  4 ปีที่แล้ว

      You are welcome and that this was helpful

  • @anandskpm4296
    @anandskpm4296 11 หลายเดือนก่อน

    Clear explanation thank you 👌

    • @vdespa
      @vdespa  11 หลายเดือนก่อน

      Glad it was helpful! You are welcome. Thank you for leaving a comment.

  • @muchwow3839
    @muchwow3839 3 ปีที่แล้ว +2

    Can you please explain how queryparams are actually written in a REST controller?

  • @johnbritolima
    @johnbritolima 5 ปีที่แล้ว

    Good to know: 04:00

  • @anukooljaiswal8626
    @anukooljaiswal8626 ปีที่แล้ว

    Nice bro.

  • @enggadda
    @enggadda ปีที่แล้ว

    how to make @QueryParam as optional (example making the name as not required )

  • @garycolman5193
    @garycolman5193 5 ปีที่แล้ว +1

    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?

  • @franznataly
    @franznataly 5 ปีที่แล้ว

    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

    • @franznataly
      @franznataly 5 ปีที่แล้ว

      @@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?

  • @pengli4769
    @pengli4769 ปีที่แล้ว

    When to use path variable, when to use query variable?

    • @vdespa
      @vdespa  ปีที่แล้ว

      You need to check the API documentation and see. If you are using an API is not really your decision.

  • @vdespa
    @vdespa  4 ปีที่แล้ว +1

    Download the FREE Postman Quick Reference Guide
    👉 www.subscribepage.com/postman

  • @M0oMo0o
    @M0oMo0o 5 ปีที่แล้ว

    Thank you

  • @alexrigar
    @alexrigar 4 ปีที่แล้ว +1

    nice!

    • @vdespa
      @vdespa  4 ปีที่แล้ว

      Thank you for your comment, Alejandro!

  • @mrflexii2067
    @mrflexii2067 2 ปีที่แล้ว

    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
      @vdespa  2 ปีที่แล้ว +1

      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.

  • @abdelrhmanshokr7546
    @abdelrhmanshokr7546 3 ปีที่แล้ว

    what if I don't have a params tap on postman is it an older version or what ?

    • @vdespa
      @vdespa  3 ปีที่แล้ว +1

      Look below the URL. There query params should be there.

    • @abdelrhmanshokr7546
      @abdelrhmanshokr7546 3 ปีที่แล้ว +1

      @@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.

  • @sharikkumar8581
    @sharikkumar8581 2 ปีที่แล้ว

    If you explain a concept then please take a simple example. Else you are wasting other's time as well.

    • @vdespa
      @vdespa  2 ปีที่แล้ว

      Thanks for your feedback. Do you mean that the API was too complex for this example?

    • @sharikkumar8581
      @sharikkumar8581 2 ปีที่แล้ว

      @@vdespa I think so.

  • @annapureddy.1150
    @annapureddy.1150 3 ปีที่แล้ว

    how to use >=,

    • @vdespa
      @vdespa  3 ปีที่แล้ว

      Can you be a bit more specific please?

  • @jasur.ahmadoff
    @jasur.ahmadoff 2 ปีที่แล้ว +1

    Thank you

    • @vdespa
      @vdespa  2 ปีที่แล้ว

      You're welcome