This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes each request I got different token for one endpoint, but another endpoint, i got the same token. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "each request I got different token for one endpoint, but another endpoint, i got the same token. " Watch "each request I got different token for one endpoint, but another endpoint, i got the same token. " New topic
Author

each request I got different token for one endpoint, but another endpoint, i got the same token.

chaohua wang
Ranch Hand

Joined: Dec 22, 2002
Posts: 62
Hi Folks,

I have a question regarding the REST token.

the client code called 2 different REST server endpoint to request token.

One endpoint, for each request, I always got the same token: "5016b058e4b0e55ed3dbaeb9
But another endpoint, each request, i always got different token.

Could some body tell me reason why?

Thank you!

Chwang

the following is request and response token

this one has same token response:



But another endpoint, each request, i got different token. the following token is DDz9gfFF1UBoWCJaW68pCMJa_aYczxJ6. if I send request again, token will be changed.


 
Consider Paul's rocket mass heater.
 
subject: each request I got different token for one endpoint, but another endpoint, i got the same token.
 
Similar Threads
Getting Response Headers
Error 500 and also getting an ISAPI error.
Tomcat 7 digest authentication issues
Getting the URL by crawling whose content-type is not text/html
unable to connect to .Net web service using axis with java