# Run a processing sketch on a rpi as webserver

**URL:** <https://discourse.processing.org/t/run-a-processing-sketch-on-a-rpi-as-webserver/38559>\
**Category:** Project Guidance\
**Created:** [August 30, 2022, 1:23pm UTC](https://discourse.processing.org/t/run-a-processing-sketch-on-a-rpi-as-webserver/38559 "2022-08-30T13:23:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 30, 2022, 8:03pm UTC](https://discourse.processing.org/t/run-a-processing-sketch-on-a-rpi-as-webserver/38559/2 "2022-08-30T20:03:13Z")

</div>

Hello @bask185,

This may be of interest:

> [@\[Processing net POST request\] Error : Client got end of stream](https://discourse.processing.org/t/processing-net-post-request-error-client-got-end-of-stream/12339/9):
>
> I ported my Arduino web page “server” to Processing as a warm up exercise. There are better ways to deal with strings but just left it as is for now. // Web page is at http://127.0.0.1:20000/1 // Count on page increases with each refresh of page // The Processing console shows request from web page import processing.net.\*; Server s; Client c; String input; int data[]; int count = 0; int val = 0; void setup() { size(200, 200); // Starts a myServer on port 5204 s = new Server(…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/run-a-processing-sketch-on-a-rpi-as-webserver/38559)._
