Re: [Launchpad-dev] Launchpad Web API - Authentication and Current State

2016-01-23 Thread Terence Simpson
I'm no Java programmer but I guess the problem is the oauth_signature. You're setting it to "%26" and then I see it's passed to UrlEncodedFormEntity, which seems likely to preform URL encoding on the parameters. Try replacing the line with: nvps.add(new BasicNameValuePair("oauth_signature", "&"));

Re: [Launchpad-dev] Launchpad Web API - Authentication and Current State

2016-01-22 Thread Kennedy Torkura
Hi Colin, Thanks for spotting that typo.The error however remains even after changing "customer" to "consumer". Regards, Kennedy On Friday, January 22, 2016 10:34 PM, Colin Watson wrote: On Fri, Jan 22, 2016 at 09:08:00PM +, Kennedy Torkura wrote: > Many thanks for responding.My

Re: [Launchpad-dev] Launchpad Web API - Authentication and Current State

2016-01-22 Thread Colin Watson
On Fri, Jan 22, 2016 at 09:08:00PM +, Kennedy Torkura wrote: > Many thanks for responding.My code is below : > public class tester { >   public static void main(String[] args) throws ClientProtocolException, > IOException{ >     CloseableHttpClient httpclient = HttpClients.createDefault(); >  

Re: [Launchpad-dev] Launchpad Web API - Authentication and Current State

2016-01-22 Thread Kennedy Torkura
Hi Colin, Many thanks for responding.My code is below : public class tester {   public static void main(String[] args) throws ClientProtocolException, IOException{     CloseableHttpClient httpclient = HttpClients.createDefault();     HttpPost httpPost = new HttpPost("https://launchpad.net/+request

Re: [Launchpad-dev] Launchpad Web API - Authentication and Current State

2016-01-22 Thread Colin Watson
On Fri, Jan 22, 2016 at 01:11:54PM +, Kennedy Torkura wrote: > I am new to this mailing list so kindly forgive me if I ask questions > that may have been already resolved.Currently, I am building a Java > application to interact with launchpad web api. Though , there I have > seen from the docu

[Launchpad-dev] Launchpad Web API - Authentication and Current State

2016-01-22 Thread Kennedy Torkura
Hi there, I am new to this mailing list so kindly forgive me if I ask questions that may have been already resolved.Currently, I am building a Java application to interact with launchpad web api. Though , there I have seen from the documentation that there is a python library, I prefer to use Ja