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 30c17f2 commit 2ff5f6fCopy full SHA for 2ff5f6f
nodes/CapSolver/libs/task.ts
@@ -17,6 +17,9 @@ export class Task {
17
url: `${API_URL}/createTask`,
18
body: createTaskPayload,
19
json: true,
20
+ headers: {
21
+ 'Content-Type': 'application/json',
22
+ },
23
});
24
if (!response.taskId) {
25
throw new NodeOperationError(
@@ -45,6 +48,9 @@ export class Task {
45
48
url: `${API_URL}/getTaskResult`,
46
49
body: getResultPayload,
47
50
51
52
53
54
55
} catch (error: any) {
56
0 commit comments