Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kapua-dev] Client Command

I passed the password the way it was given. 
How exactly should I make a client to extract data via API?



Regards,
Ram

On Mar 11, 2020 9:31 PM, "Mezzasalma, Claudio" <Claudio.Mezzasalma@xxxxxxxxxxxx> wrote:

You should pass the password as a string, not as a string array. Also, for further reference, you can usually find more details about errors in the Docker containers logs

 

-- 

Claudio Mezzasalma | Eurotech

 

Da: <kapua-dev-bounces@eclipse.org> per conto di "Shankar, Ramraj" <Ramraj.Shankar@hsrw.org>
Risposta: kapua developer discussions <kapua-dev@eclipse.org>
Data: mercoledì 11 marzo 2020 14:56
A: "kapua-dev@eclipse.org" <kapua-dev@eclipse.org>
Oggetto: [kapua-dev] Client Command

 

Hello,

 

I am getting the error shown in the attachment when I run the client code command.

 

Also I am getting error 500 when I run : curl -X POST 'http://localhost:8081/v1/authentication/user' --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{

  "password": [
    "kapua-password"
  ],
  "username": "kapua-sys"
}'
Could you please help me?


Back to the top