Fl4m3Ph03n1x
Automatically fill a form from
Background
There is a website with a form that I need to fill automatically and then submit. Once this is done I need to check the results page and send a message to a user via Whatsap, Telegram or SMS. Sending an email is not out of question, but this is related to an extremely urgent event (like, the nuclear core is melting down) so I am not sure emails are a good choice because people miss them easily.
Questions
I am usually more of a back-end developer, I don’t know much about reading pages and filling them automatically. So naturally I have some questions:
- Is it possible to do this with server side technologies using Elixir?
- What tools would you use and why?
- I know of Bamboo to send e-mails in Elixir, but I don’t know of any tool to send other types of notifications. Do you know any?
Any help would be really appreciated.
Most Liked
Cochonours
Unless this form is protected against CSRF, you could just write a small script to cURL POST the form, and pipe the answer to Telegram if it matches your alerting conditions.
Avoid SMS, as those come with no guarantee to go fast.
outlog
do you mean filling out form on 3rd party site and scrape/parse the result? then something like wallaby maybe - though it’s oriented towards testing.. GitHub - elixir-wallaby/wallaby: Concurrent browser tests for your Elixir web apps. · GitHub
or hound hound | Hex
- nexmo, or twilio for sms - u can even call up people and have it read whatever text you want..
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #code-sync
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








