Changes in times and Dashboard

This commit is contained in:
2024-03-19 13:13:41 +01:00
parent 66ee33cdde
commit 34096f877a
9 changed files with 322 additions and 421 deletions

25
tools/comServer/test.mjs Normal file
View 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()