Automatically fill a form from

Well, nowadays what I usually do is:

  • Check the network tab of your browser to see what type of requests being sent
  • Once I identify the request (usually a POST) I then study its data (does it send a payload? What is the format of such payload?)
  • With this information, I then use something like HTTPoison or Finch to make a request to that endpoint with the data I want

This effectively “emulates” a user, provided you also sent the credentials in the POST request.