# HTTP server on Sentinel

Source: https://forum.modalai.com/topic/4013/http-server-on-sentinel
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2024-12-12 02:24:19 UTC by soraminds
Replies: 2 · Views: 610

## soraminds · 2024-12-12 02:24:19 UTC

Hello,

I want to setup HTTP request & response server on Sentinel. Ideally, as Sentinel fly the route, I want sensors along the path to send data as HTTP post request.
Down the load, I want to process the data on board.

Is there any documentation that can help me get started?

Thank you,

## Reply by groupo · 2024-12-12 14:20:08 UTC

@soraminds im not sure there is any but we did what I believe you are describing in reverse. We set up a shell script on the drone that sent web requests to a server running on our network. This requests contained the GPS information from ```voxl-inspect-gps```.

On our server, we set up a webserver using Perl and its HTTP::Server::Simple::CGI module. IIRC Perl was already on the drone so you might natively be able to do this in reverse, otherwise just install that package/module and look up some examples for it. That should get you there

Only catch might be the IP address changing. Depending on your network perhaps your webserver IP (running on drone) may not be static. You would have to account for that somehow. In our case, our server was static and this point was moot. Good luck!

## Reply by Eric Katzfey (ModalAI staff) · 2024-12-12 16:49:36 UTC

@soraminds VOXL 2 is a Linux computer so you can just run Apache or any other standard web server. But be aware that `voxl-portal` is also a running web server so you would have to stop it or, even better, run your server on a different port.
