arachnys / athenapdf

Drop-in replacement for wkhtmltopdf built on Go, Electron and Docker
MIT License
2.26k stars 186 forks source link

Specifying window-status plugin for v3 web service #140

Open alanmrvl opened 7 years ago

alanmrvl commented 7 years ago

Is it possible to run the window status plugin via the v3 web service? I have tried something like the following, but it does not appear to be working.

curl \
    -F process='{"conversion": {"mime_type": "text/html", "uri": "http://reportendpoint/", "options": {"plugin": {"string_value": "window-status"}} }}' \
    http://athenapdfservice:8080/process |> exported_$(date +%s ).pdf