Skip to content
Snippets Groups Projects
README.md 6.46 KiB

PROG2900

Server

The server currently only accepts HTTPS requests, not HTTP. It listens on ip address 127.0.0.1 and port 8443.

URL: https://127.0.0.1:8443

Endpoints

This server consists of 7 endpoints. Each endpoint requires the desired lake name to be provided as an url parameter. Of the 7 endpoints, the first 5 only accept GET requests, while new_lidar_data only accepts POST requests. The first three endpoints expose the processed data to the application.

Application endpoints:

.../update_map?lake=*
.../get_relation?lake=*
.../get_lake_names

Other endpoints:

.../update_measurements?lake=*
.../add_new_lake?lake=*&cell_size=*
.../add_test_data?lake=*
.../new_lidar_data?lake=*