meta { name: Timetable type: http seq: 2 } get { url: {{baseUrl}}/api/3/timetable/actual body: none auth: bearer } headers { Content-Type: application/x-www-form-urlencoded } auth:bearer { token: {{token}} } script:pre-request { var today = new Date(); var dd = String(today.getDate()).padStart(2, '0'); var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0! var yyyy = today.getFullYear(); today = mm + '-' + dd + '-' + yyyy; var current_url = req.getUrl(); req.setUrl(current_url + "?date=" + today); // yes this is copied from stack overflow lol // credit to Samuel Meddows on SO }