# WebView for JUCE app running headless

**URL:** <https://forum.juce.com/t/webview-for-juce-app-running-headless/62383>\
**Category:** General JUCE discussion\
**Created:** [August 5, 2024, 4:50pm UTC](https://forum.juce.com/t/webview-for-juce-app-running-headless/62383 "2024-08-05T16:50:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitchco](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mitchco/32/9972_2.png) [@Mitchco](https://forum.juce.com/u/Mitchco)\
**Post date:** [August 5, 2024, 4:50pm UTC](https://forum.juce.com/t/webview-for-juce-app-running-headless/62383/1 "2024-08-05T16:50:21Z")

</div>

Being new to WebView, I don’t know if it would be helpful for the following scenario.

I want to run a JUCE app on an embedded device, headless, and then access the app via an HTML web page to adjust a few parameters. The embedded device has a web server. I can compile the app and run headless on the device, but struggling with how to communicate with the app via an HTML web page.

Doable with WebView? Or is there another approach?

Any insights appreciated.

---

<div class="post-metadata">

**Author:** ![holy-city](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@holy-city](https://forum.juce.com/u/holy-city)\
**Post date:** [August 5, 2024, 5:40pm UTC](https://forum.juce.com/t/webview-for-juce-app-running-headless/62383/2 "2024-08-05T17:40:07Z")

</div>

The typical solution to this problem is to provide an API to the device via the web server. It could be REST or RPC, whatever is more appropriate for your application.

You could use a webview on the client side if you want to present the interface as a native application, but you would still need the server to provide an API to handle the communication.
