Intrepid Pursuits interview question

How would you structure a GET / POST query to a database via a URL?