MCPcopy Create free account
hub / github.com/simstudioai/sim / encode

Function encode

apps/sim/app/api/tools/sap_s4hana/proxy/route.ts:188–188  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

186 return base
187 }
188 const encode = (s: string) => encodeURIComponent(s).replace(/%24/g, '$')
189 const parts: string[] = []
190 for (const [key, value] of Object.entries(req.query)) {
191 if (value === undefined || value === null) continue

Callers 1

buildOdataUrlFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected