splashr icon indicating copy to clipboard operation
splashr copied to clipboard

Using http_post

Open sebastianbarfort opened this issue 7 years ago • 2 comments

Hi Bob,

Thanks for yet another fantastic package!

I'm wondering whether I can use splashr on a site where I have to login with a username and password and then render the javascript on the site. I quickly browsed the splash documentation and this might be possible with splash::http_post.

My question is: is this possible using your package? If not, will you consider adding it?

Thanks again!

sebastianbarfort avatar Aug 15 '17 14:08 sebastianbarfort

thx for kicking the tyres on the pkg and taking the time to file an issue (question)!

lemme poke around a bit and see if I can work up a full example. post is one way. targeting form fields and submit press is another but i didn't really show how to instrument those.

hrbrmstr avatar Aug 15 '17 15:08 hrbrmstr

K. I'm going to get the pkg on CRAN and then add this. It doesn't actually do much (anything, really) that httr::POST() doesn't do, but I have more slasckr Lua-covering functions I want to add and this fits right in.

hrbrmstr avatar Aug 28 '17 16:08 hrbrmstr