0

How can I submit a text form value to a URL without the key-value syntax? I am writing a frontend for a flask app and want to keep this as simple as possible.

    <form id="groupInfo" method="GET">
        <label for="groupName">Group Name:</label>
        <input type="text" id="groupName" name="groupName">
        <input type="submit" value="Lookup" action="/self-service/module/<text>">

The result from the submit button should be similar to below to call the flask function/template:

Someone enters 'myGroupName' --> Submit --> [GET] http://0.0.0.0:5000/self-service/module/myGroupName

0 Answers0