brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 286 forks source link

Custom header isnt working #209

Open Petter17 opened 7 years ago

Petter17 commented 7 years ago

Hi,

Im trying to take a screenshot of an URL that needs a custom header for authentication purpose.

Im trying to define header using custom header option:

image

But that isnt working, and the log "after Webshot" is never printed.

When I try to get that URL using Postman and the custom header, the server returns an 200 OK.

Can somebody help me? Thanks

EDITED: Thats a issue related to URL with ampersand character and I still looking for a solution