Adding external libraries

Number of APIs: 3

This is an answer to the following question on the Qodex Community Forum: [

Open any of the requests to see different methods of importing external libraries to the Qodex sandbox. If a CDN equivalent exists for a library, you can leverage that code and bring the functionality into Qodex.

Look at the Tests tab for each request to see a different method of importing a library. For the examples in this collection, we'll import the Day.js library.

  1. Using built in libraries GET https://postman-echo.com/get?randomName={{$randomFirstName}} {{$randomLastName}}&randomAddress={{$randomStreetAddress}}&randomDate={{$randomDateRecent}}

  2. Loading a library from a variable GET https://postman-echo.com/get

  3. Reusable Test Scripts (Eval) - Eval Function (Show2) GET https://postman-echo.com/get