Results 1 to 4 of 4
  1. #1
    ivansat is offline Member
    Join Date
    Jul 2013
    Posts
    2
    Rep Power
    0

    Default Get URL for the API

    Hi everyone ,

    I have a problem in Java connection with a Reporting Tool (Omniture).
    I have reported them the error and they told me I have to indicate the following information:

    -URL for the API
    -Request
    -Response

    The problem is that I am new to Java and I donīt know well the meaning of these parameters.
    Please, could you give me a short explain of then and how might I get them from Java scripts???

    Thankyou .

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,263
    Rep Power
    6

    Default Re: Get URL for the API

    Why don't you ask them what they're talking about?

    They're just generic words that have something to do with the web, they don't have any direct meaning. I *guess* that they're asking which API you're using to connect to the tool and which request is sent and which response is generated, but there is no way to know for sure.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    ivansat is offline Member
    Join Date
    Jul 2013
    Posts
    2
    Rep Power
    0

    Default Re: Get URL for the API

    Ok, thanks.

    But I donīt understand how might I get the response, because the response is the answer from the API to my request. I really donīt undestand this concept.

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,263
    Rep Power
    6

    Default Re: Get URL for the API

    Generally you capture it through a logging mechanism. You will have to check the API's documentation to see what is possible. When you can't do it through the API (which I would find strange), you could use a HTTP sniffer tool to capture what goes in and out through HTTP, but that may not be an option if the application is running on a server you can't manage yourself.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •