Okay, so here is an example using a random public API (https://meowfacts.herokuapp.com/
)
const response = await fetch(p1);
const data = await response.text();
return data;
Just be aware that this method is insecure, so if you are including API keys then you are risking that they could leak.