Hi,
I have a very simple need to pass two pieces of information to an elixir app that I have created and would like to make available via a Phoenix interface on the web.
The application takes an IP address and a subnet mask and then returns the IP and subnet mask octets in binary along with the calculated subnet and broadcast address in binary and decimal. All of the hard work is already done in making that happen via Elixir, but for the life of me I can’t seem to find a way to just pass those two parameters from the frontend to the backend without doing changesets.
What is the simplest way to just pass those two strings to an Elixir app and have it return the struct?