<?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 PATCH]]></title><description><![CDATA[<p dir="auto">Hy Leute,</p>
<p dir="auto">Hat schonmal jemand einen HTTP PATCH request abgesetzt (aus einem Javascript)?</p>
<p dir="auto">z.B. zum ändern einer Unifi Protect Kamera :)</p>
<p dir="auto"><img src="/assets/uploads/files/1776757592306-913e4b09-85de-4b73-b40e-338444eafe10-image-resized.jpeg" alt="913e4b09-85de-4b73-b40e-338444eafe10-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.iobroker.net/topic/84363/http-patch</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 22:30:25 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/84363.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Apr 2026 07:46:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HTTP PATCH on Tue, 21 Apr 2026 13:14:05 GMT]]></title><description><![CDATA[<p dir="auto">Super danke <a class="plugin-mentions-user plugin-mentions-a" href="/user/codierknecht" aria-label="Profile: codierknecht">@<bdi>codierknecht</bdi></a> für den Tipp mit Axios<br />
Haut super hin :)</p>
<pre><code>function renameCam() {
    var temp = getState("alias.0.au.ga.xxxxxxxxx").val
    axios.patch('https://192.168.xxx.xxx/proxy/protect/integration/v1/cameras/xxxxxxxxxxxxxxxxxx', {
        name: 'xxxxx' + temp + '°C' 
    }, {
        httpsAgent: agent, 
        headers: {
            'X-API-KEY': 'xxxxxxxxxxxxxxxxxxxxxxxxx',
            'Accept': 'application/json'
        }
    })
//    .then(function(response) {
//        log("Response: " + JSON.stringify(response.data))
//    })
    .catch(function(error) {
        log("Error: " + error, error)
    })
}; 
</code></pre>
<p dir="auto">Mike</p>
]]></description><link>https://forum.iobroker.net/post/1335751</link><guid isPermaLink="true">https://forum.iobroker.net/post/1335751</guid><dc:creator><![CDATA[m1k3f15h]]></dc:creator><pubDate>Tue, 21 Apr 2026 13:14:05 GMT</pubDate></item><item><title><![CDATA[Reply to HTTP PATCH on Tue, 21 Apr 2026 09:34:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m1k3f15h" aria-label="Profile: m1k3f15h">@<bdi>m1k3f15h</bdi></a><br />
Mit Axios sollte das doch problemlos gehen:</p>
<pre><code>const axios = require('axios');
axios.patch('https://example.com', {
  email: 'neue-email@beispiel.de'
})
.then(response =&gt; console.log('Erfolgreich aktualisiert:', response.data))
.catch(error =&gt; console.error('Fehler:', error));

</code></pre>
]]></description><link>https://forum.iobroker.net/post/1335726</link><guid isPermaLink="true">https://forum.iobroker.net/post/1335726</guid><dc:creator><![CDATA[Codierknecht]]></dc:creator><pubDate>Tue, 21 Apr 2026 09:34:58 GMT</pubDate></item><item><title><![CDATA[Reply to HTTP PATCH on Tue, 21 Apr 2026 09:24:05 GMT]]></title><description><![CDATA[<p dir="auto">Servus <a class="plugin-mentions-user plugin-mentions-a" href="/user/oliverio" aria-label="Profile: oliverio">@<bdi>oliverio</bdi></a><br />
Danke für deine Antwort.</p>
<p dir="auto">Es gibt ja im javascript adapter für Post und Get eine "Function"<br />
<a href="https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#httpget" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#httpget</a><br />
<a href="https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#httppost" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#httppost</a></p>
<p dir="auto">aber für HTTP PATCH finde ich keine...</p>
<p dir="auto">also leider verstehe ich nicht ganz, was du mir damit sagen willst..<br />
in der Api Dokumentation gibt es "Abfragen" die mit Get erledigt werden, Manches wird mit POST erledigt und manches eben mit PATCH...</p>
<p dir="auto">mike</p>
]]></description><link>https://forum.iobroker.net/post/1335724</link><guid isPermaLink="true">https://forum.iobroker.net/post/1335724</guid><dc:creator><![CDATA[m1k3f15h]]></dc:creator><pubDate>Tue, 21 Apr 2026 09:24:05 GMT</pubDate></item><item><title><![CDATA[Reply to HTTP PATCH on Tue, 21 Apr 2026 08:49:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m1k3f15h" aria-label="Profile: m1k3f15h">@<bdi>m1k3f15h</bdi></a></p>
<p dir="auto">Hm, also meine Antwort ist ja.<br />
Es ist einfach ein anderes Wort für die HTTP Methode.<br />
Wird bei einer Rest API semantisch als „Änderung“ verstanden.<br />
Funktioniert technisch genauso wie POST</p>
<p dir="auto"><a href="https://de.wikipedia.org/wiki/Representational_State_Transfer#Umsetzung" rel="nofollow ugc">https://de.wikipedia.org/wiki/Representational_State_Transfer#Umsetzung</a></p>
]]></description><link>https://forum.iobroker.net/post/1335721</link><guid isPermaLink="true">https://forum.iobroker.net/post/1335721</guid><dc:creator><![CDATA[OliverIO]]></dc:creator><pubDate>Tue, 21 Apr 2026 08:49:11 GMT</pubDate></item></channel></rss>