mirror of
https://github.com/librenms/librenms.git
synced 2024-09-24 20:09:06 +00: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. |
||
---|---|---|
.. | ||
css | ||
fonts | ||
forms | ||
images | ||
includes | ||
js | ||
pages | ||
plugins/Test | ||
.htaccess | ||
ajax_form.php | ||
ajax_listports.php | ||
ajax_search.php | ||
api_v0.php | ||
bandwidth-graph.php | ||
billing-graph.php | ||
calendar.jpg | ||
data.php | ||
graph-realtime.php | ||
graph.php | ||
index.php | ||
install.php | ||
map.php | ||
netcmd.php | ||
pdf.php |