Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What is this called?

What is this called?

Scheduled Pinned Locked Moved The Lounge
jsonquestionc++databasecom
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PJ ArendsP Offline
    PJ ArendsP Offline
    PJ Arends
    wrote on last edited by
    #1

    I want to get data from a website. The website provides an API in the form of:

    https://website.com/page?p1=123&p2=“text”

    If I type the query into my browser address bar I get a JSON text back in the browser window. What is this type of query called? If I can get the terminology correct then I can start to search how to automate the query in my C++ app. Thanks.

    Within you lies the power for good - Use it!

    Within you lies the power for good; Use it!

    P D N 0 4 Replies Last reply
    0
    • PJ ArendsP PJ Arends

      I want to get data from a website. The website provides an API in the form of:

      https://website.com/page?p1=123&p2=“text”

      If I type the query into my browser address bar I get a JSON text back in the browser window. What is this type of query called? If I can get the terminology correct then I can start to search how to automate the query in my C++ app. Thanks.

      Within you lies the power for good - Use it!

      P Offline
      P Offline
      Peter_in_2780
      wrote on last edited by
      #2

      Sounds to me like AJAX[^]

      Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

      1 Reply Last reply
      0
      • PJ ArendsP PJ Arends

        I want to get data from a website. The website provides an API in the form of:

        https://website.com/page?p1=123&p2=“text”

        If I type the query into my browser address bar I get a JSON text back in the browser window. What is this type of query called? If I can get the terminology correct then I can start to search how to automate the query in my C++ app. Thanks.

        Within you lies the power for good - Use it!

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        The server is exposing a WebAPI. The URL contains parameters passed to the function on the server.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

        1 Reply Last reply
        0
        • PJ ArendsP PJ Arends

          I want to get data from a website. The website provides an API in the form of:

          https://website.com/page?p1=123&p2=“text”

          If I type the query into my browser address bar I get a JSON text back in the browser window. What is this type of query called? If I can get the terminology correct then I can start to search how to automate the query in my C++ app. Thanks.

          Within you lies the power for good - Use it!

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #4

          It is called a programming question and it is better placed in Quick Answers[^] :-D

          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

          PJ ArendsP 1 Reply Last reply
          0
          • N Nelek

            It is called a programming question and it is better placed in Quick Answers[^] :-D

            M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

            PJ ArendsP Offline
            PJ ArendsP Offline
            PJ Arends
            wrote on last edited by
            #5

            I got it all sorted thanks to the helpful replies. And it was a "what is this?" question, not a programming question as I at no point asked for code or even a "how do I do this?". But thanks for setting me straight :-\

            Within you lies the power for good - Use it!

            Within you lies the power for good; Use it!

            N 1 Reply Last reply
            0
            • PJ ArendsP PJ Arends

              I want to get data from a website. The website provides an API in the form of:

              https://website.com/page?p1=123&p2=“text”

              If I type the query into my browser address bar I get a JSON text back in the browser window. What is this type of query called? If I can get the terminology correct then I can start to search how to automate the query in my C++ app. Thanks.

              Within you lies the power for good - Use it!

              0 Offline
              0 Offline
              0x01AA
              wrote on last edited by
              #6

              I would call it REST Service :)

              1 Reply Last reply
              0
              • PJ ArendsP PJ Arends

                I got it all sorted thanks to the helpful replies. And it was a "what is this?" question, not a programming question as I at no point asked for code or even a "how do I do this?". But thanks for setting me straight :-\

                Within you lies the power for good - Use it!

                N Offline
                N Offline
                Nelek
                wrote on last edited by
                #7

                PJ Arends wrote:

                And it was a "what is this?" question, not a programming question as I at no point asked for code or even a "how do I do this?".

                C'mon... do not ruin the tease... ;P

                PJ Arends wrote:

                But thanks for setting me straight :-\

                You are welcome. :laugh:

                M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                PJ ArendsP 1 Reply Last reply
                0
                • N Nelek

                  PJ Arends wrote:

                  And it was a "what is this?" question, not a programming question as I at no point asked for code or even a "how do I do this?".

                  C'mon... do not ruin the tease... ;P

                  PJ Arends wrote:

                  But thanks for setting me straight :-\

                  You are welcome. :laugh:

                  M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                  PJ ArendsP Offline
                  PJ ArendsP Offline
                  PJ Arends
                  wrote on last edited by
                  #8

                  Nelek wrote:

                  C'mon... do not ruin the tease... ;-P

                  That is the problem, I can never tell from text if one is teasing or not. The :-D smiley should have been enough of a clue but sometimes I can be pretty dense.:~

                  Within you lies the power for good - Use it!

                  Within you lies the power for good; Use it!

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups