post https://test1.maksuturva.fi/api/token-query/.json
Log in to see full request history
Responses
xxxxxxxxxx
21const crypto = require('crypto');
const fetch = require('node-fetch');
const FormData = require('form-data');
const userName = 'WebstoreSellerId';
const password = 'TestSecret123!';
const base64Secret = new Buffer(`${userName}:${password}`).toString('base64');
const token = '21EC2020-3AEA-4069-A2DD-08002B30309D';
const url = `https://test1.maksuturva.fi/api/token-query/${token}.json`;
fetch(url, {
method: 'POST',
headers: {
'Authorization': `Basic ${base64Secret}`
}
})
.then(response => response.json())
.then(responseJson => console.log(responseJson))
.catch(error => console.log(error))
Try It!
to start a request and see the response here! Or choose an example: