Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion http-caller-get/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ export function getDescription() {
export async function execute(context): Promise<Output> {
const requestEndpoint = context.parameters.get;
const response = await fetch(requestEndpoint);
console.debug(response.json());
const responseJson = await response.json();
console.debug(responseJson);
}
4 changes: 2 additions & 2 deletions http-caller-post/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export function getDescription() {
id: "body",
displayName: "Body",
description: "Body to send to the endpoint",
type: "String",
}
type: "String",
},
],
output: [],
} as const satisfies ScriptDescription;
Expand Down