Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other What is a "URL=" in a URL Mean?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #153865
    Jeremy Englert
    Participant

    May be a dumb question, but it’s been bugging me recently. I see “URL=” inside alot of URL’s, such as this one:

    http://www.tierraantigua.com/search-2?url=http%3A%2F%2Flink.flexmls.com%2Fwws30ham2nd%2C12%26propertytype%3DA

    What exactly is this used to do? Is it part of the iFrame functionality? I know the last part of the URL (after the URL=) is the part being displayed in the iFrame, but I’m unsure of why it is included in the primary URL as well.

    Thanks!

    #153873
    Alen
    Participant

    You visit some website and content is presented by date, api might be like this:
    someurl.com

    Now you want the content sorted by title, something like this:
    someurl.com/?sort=title

    Behind the scenes, sort is like a variable passed to the server, based on the value, we output the desired response.

    We are sending the request to the same page, but the `?sort? parameter in this case, dictates how results are returned. This eliminates the need to build many different pages that basically do same but present info differently. So we make a GET request to the same page, passing in data that server can deal with and return results. (of course you would need to build that functionality, whatever your website is suppose to do with the value passed)

    In the example you posted:

    You are making a GET request on /search-2 with the variable of url with value of http%3A%2F%2Flink.flexmls....

    Hope that helps.
    -Alen

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.