Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kapua-dev] API Link not working!

Hi Claudio,

I don't have a problem with that now.

Thanks & Regards,
Ram.

From: kapua-dev-bounces@xxxxxxxxxxx [kapua-dev-bounces@xxxxxxxxxxx] on behalf of Mezzasalma, Claudio [Claudio.Mezzasalma@xxxxxxxxxxxx]
Sent: 12 June 2020 09:25
To: kapua developer discussions
Subject: Re: [kapua-dev] API Link not working!

I checked with 1.2.0 and I can confirm that SwaggerUI returns correct a correct login response by default. Again, the problem you're experiencing is that you're sending the password as a JSON array of strings, not a JSON string. Again, this bug has been fixed by [1] which has been released in Kapua 1.2.0.

Can you please attach the logs for the REST API container?

[1] https://github.com/eclipse/kapua/pull/2795
-- 
Claudio Mezzaslma | Eurotech

Il giorno 11 giu 2020, alle ore 13:41, Shankar, Ramraj <Ramraj.Shankar@xxxxxxxx> ha scritto:

Dear Pedro,

Thank you, it worked.

But when I try open the http://localhost:8081/v1/authentication/user, I am getting an error:

{"httpErrorCode":500,"message":"HTTP 405 Method Not Allowed"}

Please guide me in this.



Dear Claudio,

I am using version 1.2.



Thanks & Regards,
Ram.
________________________________________
From: kapua-dev-bounces@xxxxxxxxxxx [kapua-dev-bounces@xxxxxxxxxxx] on behalf of Mezzasalma, Claudio [Claudio.Mezzasalma@xxxxxxxxxxxx]
Sent: 11 June 2020 09:10
To: kapua developer discussions
Subject: Re: [kapua-dev] API Link not working!

Are you sure you're using 1.2.0? The issue is that kapua-password is a string, not an array of string, but this should have been fixed a while ago. Can you please double check your version?
--
Claudio Mezzaslma | Eurotech

Il giorno 11 giu 2020, alle ore 08:45, Pedro de Arquer <pedro.arquer@xxxxxxxxx<mailto:pedro.arquer@xxxxxxxxx>> ha scritto:

Hi,

I'm not sure if this will fix your problem good enough, but you should send the password field as plain text, instead of array.

After that, you must fill the Authorization with the tokenId you receive:
<imagen.png>

->
<imagen.png>

Kind regards,

Pedro

El mié., 10 jun. 2020 a las 20:41, Shankar, Ramraj (<Ramraj.Shankar@xxxxxxxx<mailto:Ramraj.Shankar@xxxxxxxx>>) escribió:
Hello Pedro,

Thank you for your reply.

I ma using Docker. I had used the earlier version. Now I am using version 1.2 and I am able open the link.
But I am getting an error which is shown in the attachment picture.

And which tokenId do I copy to paste as api_key?


Thanks & Regards,
Ram

________________________________________
From: kapua-dev-bounces@xxxxxxxxxxx<mailto:kapua-dev-bounces@xxxxxxxxxxx> [kapua-dev-bounces@xxxxxxxxxxx<mailto:kapua-dev-bounces@xxxxxxxxxxx>] on behalf of Pedro de Arquer [pedro.arquer@xxxxxxxxx<mailto:pedro.arquer@xxxxxxxxx>]
Sent: 10 June 2020 19:26
To: kapua developer discussions
Subject: Re: [kapua-dev] API Link not working!

Hi Ramraj,

Are you sure Kapua API is up? How are you deploying it: Docker, OpenShift...?

Kind regards,

Pedro

El mié., 10 jun. 2020 a las 18:12, Shankar, Ramraj (<Ramraj.Shankar@xxxxxxxx<mailto:Ramraj.Shankar@xxxxxxxx><mailto:Ramraj.Shankar@xxxxxxxx<mailto:Ramraj.Shankar@xxxxxxxx>>>) escribió:
Hello,

The link for API (http://localhost:8081/doc/) given in the GitHub si te is not working.

Please guide me in using the API endpoints.


Regards,
Ram
_______________________________________________
kapua-dev mailing list
kapua-dev@xxxxxxxxxxx<mailto:kapua-dev@xxxxxxxxxxx><mailto:kapua-dev@xxxxxxxxxxx<mailto:kapua-dev@xxxxxxxxxxx>>
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/kapua-dev
_______________________________________________
kapua-dev mailing list
kapua-dev@xxxxxxxxxxx<mailto:kapua-dev@xxxxxxxxxxx>
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/kapua-dev
_______________________________________________
kapua-dev mailing list
kapua-dev@xxxxxxxxxxx<mailto:kapua-dev@xxxxxxxxxxx>
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/kapua-dev

_______________________________________________
kapua-dev mailing list
kapua-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/kapua-dev


Back to the top