Recently, a collegue of mine Ido Fishler shared a wonderful REST API tool to manage calls.

I would like to demonstrate some useful things you can do with it.

  • Manage Header Presets:

       You can store list of key-value strings to be added as headers.

     /wp-content/uploads/2015/01/header1_631236.png

     Then, you can decide which header preset to use next:

/wp-content/uploads/2015/01/header2_631237.png

  • Saving calls to a collection

        You can store a collection of HTTP REST calls and edit their names

/wp-content/uploads/2015/01/collection_631239.png

  • Manage environment

       Suppose you want to do the same call to different hosts.

       You can write the parameter in double braclet {{ param }} and then add a new key in the “manage environment” control.

/wp-content/uploads/2015/01/host_631242.png

     Add new enviornment and set his key-value parameters

/wp-content/uploads/2015/01/sapflp5_631241.png

   

     Here we can see all environments I set:

/wp-content/uploads/2015/01/envs_631240.png


  • Consecutive calls:

     Suppose you have GET call to receive a key and then a POST call with the same key from previous call.

   

     you can do the following:

   

     in this example you can see a GET call with a parameter {{host}}

get csrf.png

     now, pay attention to the {{X-CSRF-Token}} parameter, it will contain the same value from the previous GET call.

/wp-content/uploads/2015/01/post_631243.png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply