11/25/2021 2:01:59 PMTime To Code
10 AnswersNew Answer
Time To Code oh you mean search paramaters but by your questions it seemd like you are trying to do something with url paths i myself had used search paramaters in my sololearn code previewer its machemism is simple just look for the specific params when page loads and according to that you can perform actions here's an article by Google devs https://developers.google.com/web/updates/2016/01/urlsearchparams
it seems you trying to build an api you may use nodejs for that this may help you https://medium.com/@onejohi/building-a-simple-rest-api-with-nodejs-and-express-da6273ed7ca9 u can use url params to get the name of the country
Beauty A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ Arnav Kumar
Arnav Kumar and Beauty Not exactly Api i want to work with a Website url For example https://www.instagram.com/Mama This will show u mama details And if this is not found show a custom error page coz api will show u a details but i want to show a website page
yes Time To Code you can do that with nodejs read the article you'll get it instead of json data you can just return an html page
Time To Code I think PHP and Node.js can help you a lot
It means this all is done using node.js I have seen many websites playing with their url window.location.search IndexOf("?") .... Why do they do so ?? 🤔
Location.Search is used to search a part of the url. IndexOf can be used as well to look for 1 to many chars in a string.
add tag img in the html.