This is wonderful stuff and I am sure your project will be a very good template. I am following the Docker instructions and got the server up and running but I am unable to POST any images as per instructions.
E:\countmein>curl -i http://localhost:8000/v1/events -F event_type=0
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Server: gunicorn
Date: Sat, 26 Jun 2021 14:29:34 GMT
Connection: close
content-type: application/json; charset=utf-8
content-length: 26
"60d739cef72f136ecdc07971"
E:\countmein>curl -i http://localhost:8000/v1/frame -F event_image=@test-crowd.jpg
HTTP/1.1 100 Continue
HTTP/1.1 400 Bad Request
Server: gunicorn
Date: Sat, 26 Jun 2021 14:30:04 GMT
Connection: close
content-type: application/json; charset=utf-8
content-length: 64
{"errors": {"frame": "Required parameter 'frame' not supplied"}}
This is wonderful stuff and I am sure your project will be a very good template. I am following the Docker instructions and got the server up and running but I am unable to POST any images as per instructions.
E:\countmein>curl -i http://localhost:8000/v1/events -F event_type=0 HTTP/1.1 100 Continue HTTP/1.1 201 Created Server: gunicorn Date: Sat, 26 Jun 2021 14:29:34 GMT Connection: close content-type: application/json; charset=utf-8 content-length: 26 "60d739cef72f136ecdc07971"
E:\countmein>curl -i http://localhost:8000/v1/frame -F event_image=@test-crowd.jpg HTTP/1.1 100 Continue HTTP/1.1 400 Bad Request Server: gunicorn Date: Sat, 26 Jun 2021 14:30:04 GMT Connection: close content-type: application/json; charset=utf-8 content-length: 64
{"errors": {"frame": "Required parameter 'frame' not supplied"}}