Scripts to use for the HaTTiP web services client
All scripts included here are free to use. If you have any you would like to add, please fork this repository and submit a pull request with your contribution.
- In the Script Library window (Menu -> Window -> Script Library), click the
+
button to create a new script. - Enter the name of the script. For
Library Entry
scripts, this usually isn't significant. For aSnippet
script, you will need this name for theScript
field in the request with which you want to use this script. - For a
Library Entry
script, set theOrder
. Lower numbers are ordered first during script processing. - Set the
Language
for the script. AllLibrary Entry
scripts of a particular language are included when processing aSnippet
script. - Enter the script into the body field.
- In the request window, enter the script in the
Script
field. The name must match exactly with theSnippet
script you want to use. OnlySnippet
scripts may be used here.
Base64 - Encode and decode strings as base64
BasicAuth - Create an Authorization header for Basic authentication. Requires Base64.js.