Trick has the capability to create a custom built web server for your sim.
You can find documentation here:
Web Server Documentation