mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
Please provide the list of changes or file diffs so I can generate the commit message for you.
This commit is contained in:
1 parent
db90ed6e41
commit
79bc66f4d5
2 files changed
+58
-19
No files matched your search
@@ -0,0 +1,15 @@
|
||||
const fs = require('fs');
|
||||
async function test() {
|
||||
try {
|
||||
const res = await fetch("https://api.ffnancy.fr/api/articles?search=334152");
|
||||
const data = await res.json();
|
||||
console.log("ARTICLES SEARCH:", JSON.stringify(data, null, 2));
|
||||
|
||||
const res2 = await fetch("https://api.ffnancy.fr/api/articles/334152/referentiel");
|
||||
const data2 = await res2.json();
|
||||
console.log("ARTICLES REFERENTIEL BY CODEIN:", JSON.stringify(data2, null, 2));
|
||||
} catch(e) {
|
||||
console.log(e.message);
|
||||
}
|
||||
}
|
||||
test();
|
||||
Reference in new issue
Block a user