You need to percent encode it - @ is %40
On Wed, Nov 13, 2013 at 6:32 PM, Hank Knight <[email protected]> wrote: > The username is > [email protected] > > 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 <[email protected]> wrote: > > > > On Nov 13, 2013, at 6:03 PM, Hank Knight <[email protected]> wrote: > > > >> What is wrong with this? > >> > >> curl -kX -u [email protected]: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:[email protected] . > > > > 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 > -- Steve
