15 lines
303 B
Text
15 lines
303 B
Text
|
auth {
|
||
|
mode: none
|
||
|
}
|
||
|
|
||
|
script:pre-request {
|
||
|
if(req.url.includes("?")){
|
||
|
req.setUrl(`${req.url}&u={{user}}&s={{salt}}&t={{hash}}&c=Ocarina&v={{version}}&f=json`)
|
||
|
}
|
||
|
else{
|
||
|
req.setUrl(`${req.url}?u={{user}}&s={{salt}}&t={{hash}}&c=Ocarina&v={{version}}&f=json`)
|
||
|
}
|
||
|
|
||
|
console.log(req.url)
|
||
|
}
|