MCPcopy
hub / github.com/ThatGuySam/doesitarm / getText

Function getText

helpers/http.js:198–206  ·  view source on GitHub ↗
( url, options = {} )

Source from the content-addressed store, hash-verified

196}
197
198export async function getText ( url, options = {} ) {
199 const { data } = await request( url, {
200 ...options,
201 method: 'GET',
202 responseType: 'text'
203 } )
204
205 return data
206}
207
208export async function postJson ( url, data, options = {} ) {
209 const { data: responseData } = await request( url, {

Callers 6

downloadStorkTomlFunction · 0.90
fetchAllUrlsFromSitemapsFunction · 0.90
http.test.tsFile · 0.90
scan-new-apps.jsFile · 0.90
index.jsFile · 0.90

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected