Lab assignments of Comp445
- Navigate to the directory containing httpc.py using the
cd
command. - Run the script with any commands defined in the assignment
python3 httpc.py [command]
Example:
python httpc.py get 'http://httpbin.org/get?course=networking&assignment=1'
- Navigate to the directory containing httpfs.py using the
cd
command. - Run the following command
python3 httpfs.py --port [port] (Optional) -d [directory ] (Optional) -v (Optional)
- Use either curl or httpc.py requests to communicate with server