Building a straightforward webcam image capture application but the server requirements have changed. Now I am being asked to send the image in the body of a post request and to listen for a json response.
ie to
http://localhost:8008/api/recognize
Assuming the image exists in the following directory
/home/user/webcam/
how might I accomplish this?