<?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[Translate curl command for Flic]]></title><description><![CDATA[<p dir="auto">I'm hoping this thread can act as a blueprint for others in translating cURL commands (or python urllib, python requests, wget, etc) into a format that can be used in Flic with the HTTP <code>Internet Request</code> function.</p>
]]></description><link>https://community.flic.io/topic/17761/translate-curl-command-for-flic</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 06:02:03 GMT</lastBuildDate><atom:link href="https://community.flic.io/topic/17761.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Jan 2020 01:04:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Translate curl command for Flic on Sat, 18 Jan 2020 04:14:23 GMT]]></title><description><![CDATA[<p dir="auto">That is the command I was using. I just tried it again (both by hitting 'execute' and by pressing the button). Neither worked. Here's a screenshot of the flic app (second picture shows the rest of the command used). I can confirm that cURL with this command does turn my receiver OFF.</p>
<p dir="auto"><a href="https://bayimg.com/paNadaAgO" rel="nofollow ugc">https://bayimg.com/paNadaAgO</a><br />
<a href="http://bayimg.com/PaNaeAagO" rel="nofollow ugc">http://bayimg.com/PaNaeAagO</a></p>
<p dir="auto">Are there any logs to debug or troubleshoot, what else can I try?</p>
]]></description><link>https://community.flic.io/post/19127</link><guid isPermaLink="true">https://community.flic.io/post/19127</guid><dc:creator><![CDATA[robert.j.erickson]]></dc:creator><pubDate>Sat, 18 Jan 2020 04:14:23 GMT</pubDate></item><item><title><![CDATA[Reply to Translate curl command for Flic on Fri, 17 Jan 2020 12:46:56 GMT]]></title><description><![CDATA[<p dir="auto">Just select "GET" as method and write "<a href="http://192.168.1.32/MainZone/index.put.asp?cmd0=PutZone_OnOff%2FON" rel="nofollow ugc">http://192.168.1.32/MainZone/index.put.asp?cmd0=PutZone_OnOff%2FON</a>" as URL. The other headers you have added must not be entered since these values are inserted automatically by the implementation.</p>
]]></description><link>https://community.flic.io/post/19124</link><guid isPermaLink="true">https://community.flic.io/post/19124</guid><dc:creator><![CDATA[Emil]]></dc:creator><pubDate>Fri, 17 Jan 2020 12:46:56 GMT</pubDate></item><item><title><![CDATA[Reply to Translate curl command for Flic on Fri, 17 Jan 2020 01:12:53 GMT]]></title><description><![CDATA[<p dir="auto">The following curl command currently works when executing from a Linux/GNU terminal:</p>
<pre><code>curl -X GET -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Connection: keep-alive' -H 'User-Agent: python-requests/2.21.0' 'http://192.168.1.32/MainZone/index.put.asp?cmd0=PutZone_OnOff%2FON'
</code></pre>
<p dir="auto">It sends a command to turn on my Marantz AV Receiver.</p>
<p dir="auto">How would I go about translating this for use with Flic?</p>
]]></description><link>https://community.flic.io/post/19118</link><guid isPermaLink="true">https://community.flic.io/post/19118</guid><dc:creator><![CDATA[robert.j.erickson]]></dc:creator><pubDate>Fri, 17 Jan 2020 01:12:53 GMT</pubDate></item></channel></rss>