R - posting a login form using RCurl

前端 未结 1 2104
旧巷少年郎
旧巷少年郎 2021-02-04 22:35

I am new to using R to post forms and then download data off the web. I have a question that is probably very easy for someone out there to spot what I am doing wrong, so I appr

相关标签:
1条回答
  • 2021-02-04 23:28

    The answer ends up being very simple. For some reason, I didn't see one option that needs to be included in postForm:

    html = postForm('https://courses.aplia.com/', .params = params, curl = curl, style="POST")
    

    And that's it...

    0 讨论(0)
提交回复
热议问题