MCPcopy Index your code
hub / github.com/simstudioai/sim / jsonResponse

Function jsonResponse

apps/sim/app/api/tools/crowdstrike/query/route.test.ts:13–18  ·  view source on GitHub ↗
(body: unknown, status = 200)

Source from the content-addressed store, hash-verified

11import { POST } from '@/app/api/tools/crowdstrike/query/route'
12
13function jsonResponse(body: unknown, status = 200): Response {
14 return new Response(JSON.stringify(body), {
15 status,
16 headers: { 'Content-Type': 'application/json' },
17 })
18}
19
20const sensorResource = {
21 agent_version: '6.1.0',

Callers 1

route.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected