I’m working on a search feature. When user enters a keyword, he or she should get a list of brands.
The current URL is ‘http://127.0.0.1:8000/brand/list’
And if I search for “bag”, it should be “http://127.0.0.1:8000/brand/list?keyword=bag”
But now, it’s “http://127.0.0.1:8000/brand/list/GET?keyword=bag”. I wanna remove the ‘GET?’ thing. How can I do this? I don’t know why but I can’t find any solutions to this.
<section id="brand-list">
<form action="GET">
<input type="text" name="keyword">
<button>Search</button>
</form>
</section>
Thank you!