Changes in times and Dashboard
This commit is contained in:
25
tools/comServer/test.mjs
Normal file
25
tools/comServer/test.mjs
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
import axios from "axios";
|
||||
|
||||
const request = async () => {
|
||||
const {data,error} = await axios({
|
||||
url:"https://ob.gocardless.com/api/v2/requisitions/",
|
||||
method: "POST",
|
||||
headers: {
|
||||
Authorization: `Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEwMjY2NTM2LCJqdGkiOiIyZjUyOWE3YzYzMWY0ZmEwOTQwOWY3OTgyNDA2NzJmNSIsInV1aWQiOiJmMzVlMjhlMi0yMmQyLTRhOWEtYjBhOS01NTM0OGNmZGE0NDciLCJhbGxvd2VkX2NpZHJzIjpbIjAuMC4wLjAvMCIsIjo6LzAiXX0.4ErAso0_BSdW8I8n_DHxywDApY8745eW-o2XC35eJLc`,
|
||||
accept: "application/json"
|
||||
},
|
||||
data: {
|
||||
redirect: "http://localhost:3002/banking/link/refresh",
|
||||
institution_id: "N26_NTSBDEB1",
|
||||
reference: "1234567",
|
||||
user_language: "de"
|
||||
}
|
||||
})
|
||||
|
||||
console.log(data)
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
request()
|
||||
|
||||
Reference in New Issue
Block a user