Sign inSign up

mokeyjay/phantomjs-simple-api

By mokeyjay

•Updated almost 6 years ago

A simple web api for PhantomJS

Image
0

210

mokeyjay/phantomjs-simple-api repository overview

⁠docker-phantomjs-simple-api

A simple web api for PhantomJS

⁠Usage:

docker run -d -p 8080:8080 mokeyjay/phantomjs-simple-api

# get a screenshot for page (JPG base64 encoded)
curl -X POST '127.0.0.1:8080' -H 'Content-Type: application/json' -d '{"url": "http://www.baidu.com"}'

Tag summary

Content type

Image

Digest

Size

81.7 MB

Last updated

almost 6 years ago

docker pull mokeyjay/phantomjs-simple-api