I'm trying to make a direct HTTP GET (not HTTPS) to an internal IP (ASN 14586) address using
fetch
fetch
from within my worker.
However, when I do, I get the body
error code: 1003
error code: 1003
returned instead.
Is there anything I can do about this? Thanks.
Framework is SvelteKit Pseudocode:
export const GET = (async ({fetch}) => { let result = await fetch(`http://${IP}/data.json`) let data = await result.json() return new Response(JSON.stringify(data))}
export const GET = (async ({fetch}) => { let result = await fetch(`http://${IP}/data.json`) let data = await result.json() return new Response(JSON.stringify(data))}