improvement(API): added query params, fixed cursor ref, code placeholder

This commit is contained in:
Emir Karabeg
2025-02-18 13:20:58 -08:00
parent 8787f2dbdb
commit 0893090a95
4 changed files with 74 additions and 91 deletions
+8
View File
@@ -24,6 +24,13 @@ export const ApiBlock: BlockConfig<RequestResponse> = {
layout: 'half',
options: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'],
},
{
id: 'params',
title: 'Query Params',
type: 'table',
layout: 'full',
columns: ['Key', 'Value'],
},
{
id: 'headers',
title: 'Headers',
@@ -36,6 +43,7 @@ export const ApiBlock: BlockConfig<RequestResponse> = {
title: 'Body',
type: 'code',
layout: 'full',
placeholder: 'Enter JSON...',
},
],
tools: {