couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hank Knight <hknight...@gmail.com>
Subject Re: CouchDB: @ in username messing up curl
Date Thu, 14 Nov 2013 02:32:17 GMT
The username is
nlbdmobz@sharklasers.com

And the password is
password123

Please test it:
https://zqzqzqz555.couchappy.com/

Putting the password in the middle of the username does NOT work.

The real question relates to escaping the @.

Believe me, I have spent quite a bit of time Googling this and found nothing.





On Wed, Nov 13, 2013 at 10:15 PM, Jens Alfke <jens@couchbase.com> wrote:
>
> On Nov 13, 2013, at 6:03 PM, Hank Knight <hknight555@gmail.com> wrote:
>
>> What is wrong with this?
>>
>> curl -kX -u nlbdmobz@sharklasers.com:password123 POST \
>> https://zqzqzqz555.couchappy.com/urls \
>> -d "{}" -H "Content-Type: application/json"
>>
>> I get an error:
>> curl: (6) Couldn't resolve host 'sharklasers.com:password123'
>
> Wrong syntax. It should be nlbdmobz:password123@sharklasers.com .
>
> The syntax is weird, but it’s really not hard to find out how it works. Try googling
for [url password syntax] and the top few hits all look like good info.
>
> —Jens

Mime
View raw message