Curl access https

Asked

Viewed 313 times

1

Good afternoon, I need to access the following link https://www.reneg.bvfinanceira.com.br/assessoria/

and in it I need my php system to insert the login and password.

The problem: 1- My page is in stock when I call this link... but I tested the code with other sites and it worked. 2- When I access another site I can change the value of inputs and tals, but I can’t click on the Submit button.

What do I need: 1- |Being able to access the bv website, I think it must be something https security because I saw it searching. 2- Give the form or click on the button because it is the only thing I do not handle on the page...

Obs: I’m using javascript to input and input data document.getElementById("input_login").value = "meu_login" works, but document.getElementById("botao_submit").submit() doesn’t work.

Thank you.

  • You have a syntax error, you must use document.getElementById("botao_submit").submit(), remove the accentuation of the id button and put the uppercase letters in the function getElementById.

  • Good trade, thanks for the answer, but in my Od this correct only here I did not write with the greatest.

  • Oh one thing I didn’t notice before, you should use the function submit() in a form, by your code you try to give the Submit on the button, is not it? Docs: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit

  • I have already tried Document.getElementById("botao_submit"). Submit() Document.getElementById("botao_submit"). click() ai nothing happens... Document.getElementById("form_submit"). click() Document.getElementById("form_submit"). Submit() here it looks like q the page is frenetically re-loading but the form is encoded to redirect to another page

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.