I cant edit the above post but follow that command with a request for a screenshot like so:
curl -X POST http://localhost:3000/screenshot \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}' \
--output screenshot.png