Executing a web script using web browser plugins
To test the web scripts you have created for POST, PUT, or DELETE, you cannot simply execute them from the web browser. You will be required to execute them through the add-ons provided by the browser to invoke HTTP POST, PUT, or DELETE calls. There could be multiple options available for browser plugins. We will take a look at two plugins here.
Poster – Firefox add-on
One plugin option is a Firefox add-on named Poster. You can download this plugin from the Firefox add-ons link, https://addons.mozilla.org/. If you already have Firefox installed, then open Firefox browser and just go to the add-ons link and search for Poster
, and from the list of add-ons displayed, add Poster to Firefox. Another faster and easier way to install Poster is to go to Tools | Add-ons and search for Poster
and click on the Install button.
Once the add-on is installed, go to Tools | Poster to open the poster window. From this window, you can provide the web script...