https.get method is used
Add url of the site
Under authorization add type as 'Basic Auth' and add username , password
Add required headers
If any parameters add it under the params
Example Format :
https.get({
url: ' ',
authorization:{
type:'Basic Auth',
username:'',
password:''
},
headers: {
'ACCESS-TOKEN': '',
'Content-Type': 'application/json',
'Accept': 'application/json',
},
params:{
}
});