stateful http requests for user onboarding

Viewed 15

I want to give our potential users to onboard through the terminal/cli. Can I direct them to send an HTTP request to /signup?method=cli to start a form filling?

eg.

~$ curl example.com/signup?method=cli
Choose a valid username (min. 9 characters)
~$ big-guy-1995
Choose a valid password (min. 9 characters, including a-z and numbers)
~$ Ilike1to2*&^

So every line would fire the right HTTP request by the programmed order

My aim is to create kind of a CLI that doesn't rely on pre-installed software.

0 Answers
Related