运行Pixellena的Light API时,我得到一条类似于Not possible to create a webp that has a smaller size and also preservesquality of the original file的消息,并且我的调用没有返回图像。我如何修复这个问题,以便获得优化后的图像?
我正在尝试使用node-fetch向外部API发出GET请求。当我运行代码时,我得到以下错误: UnhandledPromiseRejectionWarning: TypeError: Bearer [api key] is not a legal HTTP header下面是我的代码: let api_config = require('./api_config.json');
const fetch = require("n