Software Defined Networking
1830246 Members
1789 Online
110000 Solutions
New Discussion

About using REST Apis in java platform

 
chaitrashree
Occasional Contributor

About using REST Apis in java platform

hi all,

i am trying to create a simple application which runs on HP controller.

For this am trying to get response from the REST APIs and to use same in my application.

But normal HttpUrl connection is not working to get the X-auth token . the tried to use the curl in java but 'access denied"

error am getting.Since i need to do all interactions through java i cant use shell script or curl in terminal .

 

So,please anyone let me kno how we can fetch the x-auth token in java and response from other apis especially in java platform.

thank you

1 REPLY 1
SatishK
Frequent Advisor

Re: About using REST Apis in java platform

Hi,

 

I would like to suggest for the 3 approach, in which it will ask for the ceft, which you need to take care by bypassing the CA ceft for https than it should work.

 

Regards,

Satish K