I need to make software for autoregistration on one of the sites. Do this for the first time.

When I try to send a post request with data to the registration page, I get a response error 405, as I understand the error is due to the fact that the request handler page is not indicated on the form of the final page.

The question is how to find where the request goes when the normal (manual) data is sent from the page itself?

Here is the header of the final site form:

 <form novalidate="" class="src-components-Form-styles--inline--1wVMU -visor-no-click"> 

AJAX intercepts? I have not worked with the web for a long time, tell me why in the input

 <input type="text" name="firstname" value="" class="c0222 -metrika-nokeys" tabindex="0" id="firstname" data-cerber-id="registration_form::mail::name"> 

This is indicated by data-cerber-id="registration_form::mail::name" and what role it plays, I often come across this, because the data-cerber-id reserved does not exist, right?

  • You have two different questions. The answer to the first part: if the action is not specified, then sending in manual mode goes to the same url. How do I know that intercepted ajax - I do not know. On the second: you can create any custom data-fields, the logic sewn into them is developed in each case separately. Therefore, why exactly this site has made such a field - it is necessary to ask their programmers. Well, or if you're lucky, it may turn out that they did not saw it themselves, but connected a third-party library to which there is documentation and you read what it is for. Well, either reverse the logic of the site. - AK
  • @AK data- fields for javascript or the form also transfers them to the server? If action is not specified, then the post request is sent and you need to go to the same page, right? - Winteriscoming

1 answer 1

Track the request with Fiddler 4 and repeat it from your application.

  • I can not understand how to do it, tell me? In the main window I see the protocol, url, but I don’t see where the request goes - Winteriscoming