[PD] http get/post request in pd. how to?
Sebastian Shader
sebfumaster at aol.com
Fri Nov 25 14:35:51 CET 2022
you can send/receive http requests directly in pd as wellhttps://github.com/chr15m/pd-ws
personally I got 'something' by doing the following (without parsing/sending an http 'ok' back..): hopefully e-mail doesn't mess it up
<form action="http://localhost:2000/" method="post">
<input type="text">
<input type="submit" value="Send">
</form>then[netreceive -b 2000]
to receive
-seb
-----Original Message-----
From: KHM t.hartmann <t.hartmann at khm.de>
To: pd-list at lists.iem.at
Sent: Thu, Nov 24, 2022 1:00 pm
Subject: [PD] http get/post request in pd. how to?
Hello List,
is there a way to make http requests (get/post) in Pd?In max it can be done with the [dictionary] for composing the request header/body als JSON objects, thensend it as a request with [maxurl].
Thanks for hints,Tobias
__________________________________________
Dr. Tobias Hartmann
Künstlerisch-Wissenschaftlicher Mitarbeiter / Assistant Professor
exMedia - Sound
Kunsthochschule für Medien Köln (KHM)
Academy of Media Arts Cologne
Peter-Welter-Platz 2
50676 Köln
t.hartmann at khm.de
+49 (0) 221 20189 228
www.khm.de
www.exmedia.khm.de
www.hartmanntobias.com_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20221125/121c30a6/attachment.htm>
More information about the Pd-list
mailing list