MCPcopy
hub / github.com/zxlie/FeHelper / getHeaderEntriesForAi

Function getHeaderEntriesForAi

apps/postman/index.js:146–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 },
145
146 getHeaderEntriesForAi() {
147 return this.headerList.map(id => {
148 const key = ($(`#header_key_${id}`).val() || '').trim();
149 const value = ($(`#header_value_${id}`).val() || '').trim();
150 return key ? { key, value } : null;
151 }).filter(Boolean);
152 },
153
154 getRequestHeadersForAi() {
155 return this.getHeaderEntriesForAi()

Callers

nothing calls this directly

Calls 1

$Function · 0.50

Tested by

no test coverage detected