simple-headless-chrome
simple-headless-chrome copied to clipboard
add generic ajax method based on POST call
Love the lib, would like to be able to send more than just a post that does a form call. So I made a generic copy of your post method and called it ajax. You can specify the action verb, defaults to GET. Options also default to application/json. Let me know what you think!
Nice @photostu ! Thanks!
Is it possible for you to add a simple test case? You can copy one of the test we already have in this project.
Thanks! Luciano