[Fiware-lab-help] Java and fiware

Nederdesign.nl welkom at nederdesign.nl
Wed Aug 31 09:14:03 CEST 2016


Hi Fiware,

I'm building a Java application to store data in the Fiware Cloud.

Request via Advanced REST client
When I make a request then everything is OK, no problems with 401 unauthorized, I get a JSON file back with the access-token and I can use the token for the next request.

Request via Java
When I add authentication to my request, I always get a http code 401 unauthorized.
I have tried different ways to add authentication to the request but with no results, always a 401 unauthorized.

The java application does basically the same as the Phyton script.
Source Phyton script: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide

My questions:
Is it possible with a Java application to store data into the Fiware Cloud, is Java supported or are there some bugs?
Are there any examples codes from Java to store object in the cloud that are working?

With best regards,
Vriendelijke groeten,
Igor Ivanisevic

nederdesign.nl
Zuidstraat 14
4551 BL Sas van Gent

Postbus 29
4550 AA Sas van Gent

0115 - 69 19 85  |  welkom at nederdesign.nl<mailto:welkom at nederdesign.nl> |  www.nederdesign.nl<http://www.nederdesign.nl/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20160831/7cf4f8f1/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy