good looking get requests | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

good looking get requests

Hello everyone, I wanted to make a small search engine thing (so I can learn more about forms and such). So I looked at google's engine so when you search you go to this URL: www.google.com/search?q=SEARCH but I could only do this: www.example.com/search.html?q=SEARCH to hide a .html extension I make a folder with an index.html but when I made a folder called "search" and the form action was set to "./search" I got this: www.example.com/search/?q=SEARCH (not what I wanted). so I wanted to know how I can get a good get request URL (www.example.com/search?q=SEARCH).

18th Feb 2020, 6:14 PM
doonv
doonv - avatar
1 Answer
+ 2
You have to study REST API. There is a series of community-made lessons that can give you a start. https://www.sololearn.com/learn/10391/?ref=app
18th Feb 2020, 6:21 PM
Tibor Santa
Tibor Santa - avatar