We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0693cd5 commit 921b001Copy full SHA for 921b001
examples/javascript/src/lib/api-service.mjs
@@ -35,6 +35,14 @@ const makeRequest = async (options) => {
35
36
const url = new URL(options.path, apiUrl);
37
38
+ console.log("@@url: ", url)
39
+ console.log("@@request: ", {
40
+ url: url.toString(),
41
+ method: options.method || 'get',
42
+ headers: {...headers, 'Authorization': `Bearer ${options.token}`},
43
+ data: options.body
44
+ })
45
+
46
try {
47
const response = await request({
48
validateStatus: validStatus,
0 commit comments