MCPcopy Create free account
hub / github.com/Noumena-Network/code / parseFormBody

Function parseFormBody

src/services/oauth/oauthTestHarness.ts:689–692  ·  view source on GitHub ↗
(body: string)

Source from the content-addressed store, hash-verified

687}
688
689function parseFormBody(body: string): Record<string, string> {
690 const params = new URLSearchParams(body)
691 return Object.fromEntries(params.entries())
692}
693
694function parseTokenBody(body: string): Record<string, string> {
695 const trimmed = body.trim()

Callers 2

createMockOauthServerFunction · 0.85
parseTokenBodyFunction · 0.85

Calls 1

entriesMethod · 0.80

Tested by

no test coverage detected