<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HTTP/REST API Setup]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I have Windows installation of NetXMS v3.6.300 and would like to try REST API but when I run the following example curl command from <a href="https://wiki.netxms.org/wiki/Web_service_API" rel="nofollow ugc">https://wiki.netxms.org/wiki/Web_service_API</a> it comes back with the following message:</p>
<p dir="auto"><img src="https://snipboard.io/MEkx2I.jpg" alt="" class="img-markdown  img-fluid" /></p>
<p dir="auto">The normal web interface is working fine.</p>
<p dir="auto">Is there a guide on setting up REST API on Windows Version?</p>
<p dir="auto">Thanks</p>
<p dir="auto">Carl</p>
]]></description><link>https://forum.netxms.org/topic/6886/http-rest-api-setup</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:54:06 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6886.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 31 Jan 2021 11:31:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HTTP/REST API Setup on Sun, 31 Jan 2021 15:33:54 GMT]]></title><description><![CDATA[<p dir="auto">After some trial and error got some json output from this command:</p>
<p dir="auto"><strong>curl -k -u admin <a href="http://netxms:8080/webapi/alarms" rel="nofollow ugc">http://netxms:8080/webapi/alarms</a> -X GET -d '{"alarm":"outstanding"}'</strong></p>
<p dir="auto">It is returning all alarms regardless of whether they are NORMAL, WARNING, CRITICAL but its a start.</p>
]]></description><link>https://forum.netxms.org/post/29384</link><guid isPermaLink="true">https://forum.netxms.org/post/29384</guid><dc:creator><![CDATA[Carl Green]]></dc:creator><pubDate>Sun, 31 Jan 2021 15:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to HTTP/REST API Setup on Sun, 31 Jan 2021 14:08:52 GMT]]></title><description><![CDATA[<p dir="auto">Thanks that helped, I also upgraded to v3.7.144 at the same time, if I hit following in a web browser:<br />
<a href="http://netxms:8080/webapi/" rel="nofollow ugc">http://netxms:8080/webapi/</a></p>
<p dir="auto">I see:<br />
<strong>{"description":"NetXMS web service API version 3.7.130","version":"3.7.130","build":"3.7-130-gc909bacd30"}</strong></p>
<p dir="auto">However if I try to use the curl command I got from the netxms page here: <a href="https://wiki.netxms.org/wiki/Web_service_API" rel="nofollow ugc">https://wiki.netxms.org/wiki/Web_service_API</a><br />
nothing is returned.</p>
<p dir="auto"><strong>curl -X POST --data '{"login":"admin","password":"xxxx"}' "<a href="http://netxms:8080/webapi" rel="nofollow ugc">http://netxms:8080/webapi</a>"</strong></p>
<p dir="auto">Have you got any examples of correct command?</p>
<p dir="auto">I am hoping to run a command that will return devices to get their status, ie: UP or DOWN</p>
]]></description><link>https://forum.netxms.org/post/29383</link><guid isPermaLink="true">https://forum.netxms.org/post/29383</guid><dc:creator><![CDATA[Carl Green]]></dc:creator><pubDate>Sun, 31 Jan 2021 14:08:52 GMT</pubDate></item><item><title><![CDATA[Reply to HTTP/REST API Setup on Sun, 31 Jan 2021 11:44:37 GMT]]></title><description><![CDATA[<p dir="auto">Check this: <a href="https://www.netxms.org/forum/general-support/(windows)-web-api-install/" rel="nofollow ugc">https://www.netxms.org/forum/general-support/(windows)-web-api-install/</a></p>
]]></description><link>https://forum.netxms.org/post/29382</link><guid isPermaLink="true">https://forum.netxms.org/post/29382</guid><dc:creator><![CDATA[pvo]]></dc:creator><pubDate>Sun, 31 Jan 2021 11:44:37 GMT</pubDate></item></channel></rss>