How to get a REST API Response from a Glitch Project

Looks like ky doesn’t have an option for setting request headers, although some GitHub issues that I’ve come across suggests using something like this:

ky.extend({
    headers: { 'User-Agent': 'Get REST APi Response! - Your Client!' }
});
1 Like