mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
744f3d81c9
14:08 <lafwood> blahdeblah: Quick question about the portgroups api route, you added a check for image/png 14:09 <lafwood> I'm not sure that's what that function is meant for. Event sending -H "Accept: image/png" on a curl request fails. I think this is for checking if you send an image to the api rather than what's to be output 14:27 <lafwood> Sending -H "Content-type: image/png" works but this for defining what content-type the request will send. 14:29 <lafwood> I think the curl request needs to send an Accept and then the API check for this, I'll put a PR through to remove the current code until it can be looked at in more detail.