mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
improvement(API): added query params, fixed cursor ref, code placeholder
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user