You can make the following GET requests
- /file/sample.html -- returns the content of the file sample.html
- /json -- returns a json of the /random request
- /random -- returns index.html
- /multiply -- returns the result of multiplying two input parameters
- /github -- returns a list of public repositories of a given github user
- /bridge -- returns whether a vehicle can fit under a bridge given their heights
- /choose -- returns a randomly selected choice between two the options provided
Example Usage:
- multiply -- https://funwebserverck.duckdns.org/multiply?num1=5&num2=7
- github -- https://funwebserverck.duckdns.org/github?query=users/amehlhase316/repos
- bridge -- https://funwebserverck.duckdns.org/bridge?vehicleHeight=8.6&bridgeHeight=11.6
- choose -- https://funwebserverck.duckdns.org/choose?option1=Hadrian&option2=Darrow
File Structure in www (you can use /file/www/FILENAME):