esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <>
Subject Re: How to update a ESME status with a Java application?
Date Thu, 14 Jan 2010 09:37:33 GMT
Regarding the URL to use the twitter api, you have multiple options
depending on the implementation.

The java code you initially posted looks correct (you can compare it
to my code here :
. In such Java implementations, the URL would be
"http://localhost:8081/twitter/statuses/update.xml". In such
situations, you do not include the basic authentication in the URL but
add it via the Request Parameter "Authorization",

The use of basic authentication via URL
("http://[username]:[token]@[host]/[url prefix]/[command]") is usually
just for actions ( -
especially those including http posts and other types of


On Thu, Jan 14, 2010 at 9:34 AM, Chatree Srichart
<> wrote:
> Thank you very much. It's work fine.
> I don't know before what URL pattern should be like this: http://
> [username]:[token]@[
> host]/[url prefix].[protocol]
> Can you tell me where ESME document to describe this subject?
> Regards,

View raw message