I'm trying to harvest updated information from my own tables from my ArcGIS user. Unfortunately I do not enter the username and password correctly using html_form. Here is my code:
#Address of the login webpage
login<-"https://www.arcgis.com/sharing/oauth2/authorize?client_id=arcgisonline&response_type=code&state=%7B%22portalUrl%22%3A%22https%3A%2F%2Fwww.arcgis.com%22%2C%22uid%22%3A%226TTnp0oBvxKthSnasPpOQQoTxVnBRV-FqC0n-6F-h5c%22%2C%22useLandingPage%22%3Atrue%2C%22clientId%22%3A%22arcgisonline%22%7D&expiration=20160&locale=es-ar&redirect_uri=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Faccountswitcher-callback.html&force_login=true&redirectToUserOrgUrl=true&code_challenge=cjFZFggasK9GJd-KVHLSb9x9TsFNn8ReIUrQ1JgpY8o&code_challenge_method=S256&display=default&hideCancel=true&showSignupOption=true&canHandleCrossOrgSignIn=true&signuptype=esri&allow_verification=true"
pgsession<-html_session(login)
pgform <- html_form(pgsession)[[1]]
filled_form <- set_values(pgform, username="***", password="***")
submit_form(pgsession, filled_form)
I can't find the error in my code. Could it be that it does not work because it is a java-based page?
Hello, there.
I'm trying to harvest updated information from my own tables from my ArcGIS user. Unfortunately I do not enter the username and password correctly using html_form. Here is my code:
I can't find the error in my code. Could it be that it does not work because it is a java-based page?
Thanks!