Kong help ( Server has login)

Hi all

Hope someone can help me with this matter :slight_smile:

I use Kong gateway where there is a route and service configured to reach the server.
But the server has a login and password. It like kong can`t figure it out when there is a login on the Server.
If i curl a command trough kong to reach the Server with the login credentials nothing happens.
Any one have an idea to solve this?

curl --user test:test --data-binary ā€˜{ā€œjsonrpcā€: ā€œ1.0ā€, ā€œidā€: ā€œcurltestā€, ā€œmethodā€: ā€œgetinfoā€, ā€œparamsā€: }ā€™ -H ā€˜content-type: text/plain;ā€™ https://URL:8443/test/test-http?apikey=mykey

Hi Simon,
Please try to add the below header in the curl command. The value after Basic is encoded username:password

ā€“header ā€˜Authorization: Basic dGVzdDp0ZXN0ā€™

Thx for the Answer

Can you write/show me how you wound write it ?

best regards Simon