We now have a duckduckgo bang for quickly searching hubski! If you're like me and have duckduckgo as your default search provider then you can search hubski from your browser's url bar.
How is that implemented? I tried to add it some time ago, but since the search bar uses POST I couldn't provide a parameterised url to search that includes the search term. IS there some hidden api that hubski search uses?
If you inspect the search box you can see that it has a name of "q", so let's try adding that to the /search url... and it works!. POST really only hides the data from the URL, usually it can be used interchangeably unless they're doing something wacky serverside. You can usually find the hidden stuff by rooting through the source, using a packet sniffer such as Wireshark, or even from within the browser developer tools (in this case Network > Place a search > Select Search page > Headers > Form Data). Have a good day now!
Well there you go, thanks. I've never tried using either on the server side before; that seems more wacky to me. Anyway I should have looked at the advanced search ;) usually it can be used interchangeably unless they're doing something wacky serverside.
You'll usually only encounter GET / POST, but more modern web frameworks aim to use "RESTful" practices which additionally include PUT / PATCH / DELETE though I just found out there's actually quite a lot !