| local curl | |
| curl -X POST "http://127.0.0.1:8001/api/predict" -H "Content-Type: application/json" -d '{"message": "hello"}' | |
| --------------------------------------------------------------- | |
| -> check port | |
| sudo netstat -tuln | grep 8001 | |
| -> jobs - check running jobs | |
| -> kill %1 - kill a particular process | |
| -> pip install --no-cache-dir --upgrade -r /code/requirements.txt | |