Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3755

Creating RESTful server for raspbery pi 4 to display images

$
0
0

I got a task and have absolutely no clue on how to do it at the moment.

I watched a couple of tutorials on REST API, but none of them are applicable for my application. I don't intend to use a localhost, but if it's required then sure.

What is this task?

So there are two parts.

  1. PC (client)
  2. Raspberry Pi 4 (server)

Here’s the sequence:

The PC is the client and sends a request to the server, which is the Raspberry Pi 4, to display an image, let's say image1.jpg. The rpi4 is connected to an external monitor via HDMI.

The server/Raspberry Pi 4 receives the request and opens up image1.jpg which will then be displayed on the screen in full screen to be shown on the screen through HDMI.

Perhaps there is a better solution than to use RESTful API to solve this. If there is please give me recommendations.


Viewing all articles
Browse latest Browse all 3755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>