Pre-Request Scripts in eZintegrations
Pre-Request Scripts is a piece of code that runs before the execution of a request. Pre-request scripts give users a chance to modify the request after variables have been resolved but before the request is made. They are commonly used to set dynamic headers, generate authentication tokens, or manipulate request parameters. Using pre-request scripts can help automate repetitive tasks and ensure that requests are always sent with the correct and up-to-date data.
Example: Generating signatures for authentication.