Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4062644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:37:29+00:00 2026-05-20T15:37:29+00:00

I am in the process of creating a RESTful API. I read http://microformats.org/wiki/rest/urls but

  • 0

I am in the process of creating a RESTful API. I read

http://microformats.org/wiki/rest/urls

but this site doesn’t give me enough “good” practice on designing my API.
Specifically I will write an API (only GET methods that far) which will provide functions to convert geo-coordinates.

Example:
A geohash is a single value representation of a coordinate, thus
/convert/geohash/u09tvkx0.json?outputformat=latlong

makes sense. On the other hand
/convert/latlong.xml?lat=65&long=13&outputformat=UTC requires two input values.

See my “question”? What makes a good API which requires more than one input parameter?

(Tried to “identify” good practice by “analysing” twitter & FF but failed)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:37:29+00:00Added an answer on May 20, 2026 at 3:37 pm

    In terms of being considered a “technically” correct REST URI, there is no difference between using query string parameters or not. In RFC 3986, it states:

    The query component contains non-hierarchical data that, along with data in the path component (Section 3.3), serves to identify a resource

    That’s why you’re having a difficult time finding a definitive “best practice”. Having said that, many REST APIs do embed multiple parameters in the URI without using query strings. For exammple, to identify the make and model of a car, you’ll see websites with URI’s like this: cars.com/honda/civic. In that case it’s very obvious the relationship between the 2 and so having everything in the URI is “hackable”. It’s also much easier to stick with a non-query string approach when you only have one parameter which is uniquely identifying the resource; but if it’s something like a search query, then I’d probably keep it in the query string. This SO question has an interesting discussion about the different approaches as well.

    In your example above, I would stick with the query string parameters. Although REST typically has more intuitive URLs, that’s really not what REST is about. REST is more about hypermedia and HATEOAS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in the process of creating a coverflow view for android, but I'm running
I am in the process of creating a site that i would like to
We are in the process of designing/creating restful web services that will be consumed
I'm in the process of creating a PHP site. It uses multiple PHP classes,
I'm in the process of creating a more elaborate filtering system for this huge
I am in the process of creating a LinearLayout and within this layout...there will
I'm in process creating a form in Plone/PloneFormGen. This form has Multi-Select field that
I'm in the process of creating a FIFO implemented as a doubly-linked list, but
I am in the process of creating a user control, this control will do
I am in the process of creating a server but I have hit wall

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.