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.hartm...@khm.de>
To: pd-list@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.hartm...@khm.de
+49 (0) 221 20189 228

www.khm.de
www.exmedia.khm.de

www.hartmanntobias.com_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to