+ 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).
1 Resposta
+ 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