Initial commit

This commit is contained in:
2026-07-29 11:38:27 +05:30
commit a01a4c5d82
45 changed files with 6728 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
const http = require('http');
const options = {
hostname: 'localhost',
port: 8080,
path: '/v1/orders/history',
method: 'GET',
headers: {
'Authorization': 'Bearer test',
'X-Actor-Id': 'act_admin'
}
};
const req = http.request(options, res => {
console.log(`statusCode: ${res.statusCode}`);
let data = '';
res.on('data', d => {
data += d;
});
res.on('end', () => {
console.log(data);
});
});
req.on('error', error => {
console.error(error);
});
req.end();