npm installnpm run dev
- Send a POST request to
#/evaluateendpoint - Include a multipart form with an
imagefield - Set the
imagefield to aJPEG/PNGimage (streamed file) - Set the
Content-Typeheader tomultipart/formdata
- Payload will ALWAYS be a JSON response
- If successful, a "data" object will exist in the return JSON payload
- Prediction is a boolean value located in
<response>.data.positive