Results 1 to 4 of 4
Thread: Get URL for the API
- 07-24-2013, 10:27 AM #1
Member
- Join Date
- Jul 2013
- Posts
- 2
- Rep Power
- 0
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.
- 07-24-2013, 11:03 AM #2
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
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
- 07-24-2013, 11:12 AM #3
Member
- Join Date
- Jul 2013
- Posts
- 2
- Rep Power
- 0
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.
- 07-24-2013, 11:30 AM #4
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
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
Bookmarks