Search code examples
pythonhtmlwebserverwebserver

When I try To open a new link In HTML on my server, it combines the link with the server address and gives an error


Below is the code I am using. I am trying to get to ucc.managebac.com/student, but it takes me to 127.0.0.1:5000/ucc.managebac.com/student instead. Is there any way to fix this? Code in Python or HTML would work for me.

<form action="ucc.managebac.com/student" method="get">
    <input type="submit" value="Managebac"
           name="Submit" id="frm1_submit" />
</form>

Solution

  • Have you tried "https://ucc.managebac.com/student"? This should work.