<div dir="ltr">Hallo Peter, <div><br></div><div>die URL sieht gut aus.</div><div><br></div><div>Um Missverständnissen vorzubeugen: Hast du den Kanal vorab im Frontend von <a href="http://demo.vz.org">demo.vz.org</a> angelegt? Kannst du mittels Browser Daten zu dieser UUID loggen?</div><div><br></div><div>Grüße</div><div>Frank</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 23. Jan. 2019 um 14:57 Uhr schrieb P S <<a href="mailto:my_dates@gmx.net">my_dates@gmx.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Verdana;font-size:12px"><div>
<div>Hallo Frank,</div>
<div> </div>
<div>Danke für deine Hilfe, aber das dachte ich auch schon und habs jetzt nochmals mit Get und Post probiert mit dem gleichen Ergebnis.</div>
<div>Der Syntax der URL ist korrekt?</div>
<div> </div>
<div>Peter</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0px 10px 10px;border-left:2px solid rgb(195,217,229)">
<div style="margin:0px 0px 10px"><b>Gesendet:</b> Mittwoch, 23. Januar 2019 um 14:22 Uhr<br>
<b>Von:</b> "Frank Richter" <<a href="mailto:frank.richter83@gmail.com" target="_blank">frank.richter83@gmail.com</a>><br>
<b>An:</b> "<a href="http://volkszaehler.org" target="_blank">volkszaehler.org</a> - users" <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler-users@demo.volkszaehler.org</a>><br>
<b>Betreff:</b> Re: [vz-users] Powershell & Volkszaehler</div>
<div name="quoted-content">
<div>
<div>Hallo Peter,
<div> </div>
<div>dann nimm mal HTTPS statt HTTP, der Demo-Server nimmt glaub ich nix anderes mehr.</div>
<div> </div>
<div>Grüße</div>
<div>Frank</div>
</div>
<div class="gmail_quote">
<div>Am Mi., 23. Jan. 2019, 12:53 hat P S <<a href="mailto:my_dates@gmx.net" target="_blank">my_dates@gmx.net</a>> geschrieben:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left:1px solid rgb(204,204,204)">
<div>
<div style="font-family:Verdana;font-size:12px">
<div>
<div>Hallo Frank,</div>
<div> </div>
<div>gleiches Ergebnis</div>
<div> </div>
<div>Peter</div>
<div>
<div style="margin:10px 5px 5px 10px;padding:10px 0px 10px 10px;border-left:2px solid rgb(195,217,229)">
<div style="margin:0px 0px 10px"><b>Gesendet:</b> Mittwoch, 23. Januar 2019 um 12:44 Uhr<br>
<b>Von:</b> "Frank Richter" <<a href="mailto:frank.richter83@gmail.com" target="_blank">frank.richter83@gmail.com</a>><br>
<b>An:</b> "<a href="http://volkszaehler.org" target="_blank">volkszaehler.org</a> - users" <<a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler-users@demo.volkszaehler.org</a>><br>
<b>Betreff:</b> Re: [vz-users] Powershell & Volkszaehler</div>
<div>
<div>Hi,
<div> </div>
<div>probier's mal mit get statt post.</div>
<div> </div>
<div>Grüße</div>
<div>Frank</div>
</div>
<div class="gmail_quote">
<div>Am Mi., 23. Jan. 2019, 12:29 hat P S <<a href="mailto:my_dates@gmx.net" target="_blank">my_dates@gmx.net</a>> geschrieben:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left:1px solid rgb(204,204,204)">
<div>
<div style="font-family:Verdana;font-size:12px">
<div>Hallo</div>
<div> </div>
<div>Ich versuche gerade mittels Powershell Daten an eine UUID auf dem demo Server zu schicken. Leider gelingt es mir nicht.</div>
<div>Mein Demo Programm sieht so aus:</div>
<div>
<p>$Anzahl=4</p>
<p><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1">$httprequest</font></font></font></font></font></font></font></font></font><font color="#a9a9a9"><font face="Lucida Console"><font size="1"><font color="#a9a9a9"><font face="Lucida Console"><font size="1"><font color="#a9a9a9"><font face="Lucida Console"><font size="1">=</font></font></font></font></font></font></font></font></font><font color="#8b0000"><font face="Lucida Console"><font size="1"><font color="#8b0000"><font face="Lucida Console"><font size="1"><font color="#8b0000"><font face="Lucida Console"><font size="1">"<a href="http://demo.volkszaehler.org/middleware.php/data/" target="_blank">http://demo.volkszaehler.org/middleware.php/data/</a><uuid>.json?operation=add&value="</font></font></font></font></font></font></font></font></font><font color="#a9a9a9"><font face="Lucida Console"><font size="1"><font color="#a9a9a9"><font face="Lucida Console"><font size="1"><font color="#a9a9a9"><font face="Lucida Console"><font size="1">+</font></font></font></font></font></font></font></font></font><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1">$Anzahl</font></font></font></font></font></font></font></font></font></p>
<p><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#0000ff"><font face="Lucida Console"><font size="1"><font color="#0000ff"><font face="Lucida Console"><font size="1"><font color="#0000ff"><font face="Lucida Console"><font size="1">Invoke-WebRequest</font></font></font></font></font></font></font></font></font><font face="Lucida Console"><font size="1"> </font></font><font color="#000080"><font face="Lucida Console"><font size="1"><font color="#000080"><font face="Lucida Console"><font size="1"><font color="#000080"><font face="Lucida Console"><font size="1">-Uri</font></font></font></font></font></font></font></font></font><font face="Lucida Console"><font size="1"> </font></font><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1"><font color="#ff4500"><font face="Lucida Console"><font size="1">$httprequest</font></font></font></font></font></font></font></font></font><font face="Lucida Console"><font size="1"> </font></font><font color="#000080"><font face="Lucida Console"><font size="1"><font color="#000080"><font face="Lucida Console"><font size="1"><font color="#000080"><font face="Lucida Console"><font size="1">-Method</font></font></font></font></font></font></font></font></font><font face="Lucida Console"><font size="1"> </font></font><font color="#8a2be2"><font face="Lucida Console"><font size="1"><font color="#8a2be2"><font face="Lucida Console"><font size="1"><font color="#8a2be2"><font face="Lucida Console"><font size="1">Post</font></font></font></font></font></font></font></font></font><font face="Lucida Console"><font size="1"> </font></font><font color="#000080"><font face="Lucida Console"><font size="1"><font color="#000080"><font face="Lucida Console"><font size="1"><font color="#000080"><font face="Lucida Console"><font size="1">-Verbose </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></p>
<p>Als Antowrt vom Server bekomme ich aber immer nur:</p>
<p><font color="#ff0000"><font face="Lucida Console"><font size="1"><font color="#ff0000"><font face="Lucida Console"><font size="1"><font color="#ff0000"><font face="Lucida Console"><font size="1">Invoke-WebRequest : Der Remoteserver hat einen Fehler zurückgegeben: (400) Ungültige Anforderung. </font></font></font></font></font></font></font></font></font></p>
<p> </p>
<p>Was mache ich da falsch? Ich hab die Infos lt. <a href="https://wiki.volkszaehler.org/development/api/reference" target="_blank">https://wiki.volkszaehler.org/development/api/reference</a> genommen.</p>
<p>Peter</p>
<p> </p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</blockquote></div>