- If you provide cert.pem and key.pem files when you execute `synergy_httpx.py`, it will run with SSL. You can use the "serve" and "release" prompt commands to associate server path names with local files to be used as a response body to GET/POST requests, while the server is running.
27
-
27
+
- If you provide cert.pem and key.pem files when you execute `synergy_httpx.py`, the server will run with SSL (https).
28
+
- You can use the "serve" and "release" prompt commands to associate/disassociate server path names with local files to be used as a response body to GET/POST requests, while the server is running. There are two standard hardcoded endpoints, 1 x GET mainly for connectivity tests and 1 x POST that will print the request body to the stdout, useful for intercepting data and sending them to your server via http(s).
28
29
- You can predifine endpoints (server paths mapped to local files) by editting the `user_defined_endpoints` dict in `synergy_httpx.py` (there are examples).
30
+
- Use the "endpoints" prompt command to list all of the server's active endpoints.