And we’re also talking on a more local scale here, so this would be more centric around a single country, or north america specifically.
Yeah but idk about this one. Perhaps at the scale of CDNs and proxy distribution,
Once upon a time people debated if virtual hosts were best practice or if that would affect their SEO. We’ve definitely progressed since then, both to conserve IP addresses, but mainly because DDOS prevention is best done centralised (Looking at you Cloudflare).
1 or 3; maybe 4.
With several assumptions made, ultimately, they’re asking for json, and we should still return json, but what that looks like is up to you. It should be static enough that the person on the other end can write:
If json.grtnode(error) == "unauthorized access" Do stuff
Ifnyour going to be changing the text with some regularity to contain relevant information for the error (eg, an item ID, that is now invalid), then consider a code/text and additional fields.