July 10th Release
Pre-request Script Enhancement and Simplified Authentication Process
- Pre-request Script Enhancement:
- Users can now access Theneo endpoints, parameters, and query parameters using the following syntax:
theneo.endpointstheneo.parameterstheneo.queryParameters
- The system will automatically identify and read endpoint parameters and query parameters.
- This enhancement is particularly helpful for users who need to utilize this information in their pre-request script code.
- Simplified Authentication Process in API Explorer:
- We've added a new feature to our API Explorer page that allows for the reading of externally passed query parameters from the API Explorer page URL, such as
?my_token=<token>. - This token can then be injected into the pre-request script context, enabling its use as needed.
- To add a token to the API Runner, include it in the URL as follows:
?sometokenname="your token here". After reloading the page, the token will be added to local storage. - Users can then access and use this token in their pre-request scripts using the following syntax:
theneo.userQueryParameters
These enhancements make it easier for users to handle authentication and parameter management in their pre-request scripts, streamlining the process and improving overall efficiency.
Access the full user guide here for additional details.
Was this section helpful?
What made this section unhelpful for you?
On this page
- July 10th Release