Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request to pass html content instead of url #81

Open
hapheus opened this issue Mar 23, 2017 · 0 comments
Open

Feature request to pass html content instead of url #81

hapheus opened this issue Mar 23, 2017 · 0 comments

Comments

@hapheus
Copy link

hapheus commented Mar 23, 2017

I really like the rest api for phantom / slimer js, but I am missing an important feature.
I want to pass the html content to render as parameter (already tried to use data:text/html;base64,PGgyPkhBTExPPC9oMj4= as url). Most of our Tests are executed on private networks, but manet runs on a public domain on heroku.

As a workaround we are using a proxy script that accepts the html content, creates a temporary world accessible file, passes the url of this file to manet, waits for the response, delete the temporary file and loops the response of manet.

Maybe this is a feature that more people are waiting for.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant