Hi Gurus,

I am new to RIPE API and hope someone can help me get through this.  

Could some please let me know what is the proper way to use “curl” to get data back from following URL? 
I could use the same login name/password get in web portal but not from command line. Do I have to encode 
my logins? Or should I pass my logins as part of the URL parameters?

Regards

Hong Ye

https://atlas.ripe.net/api/v1/measurement/xxxxxxxxxxx/result/?start=1392336000&stop=1392249599&format=json


* Adding handle: conn: 0x7f9a74000000

* Adding handle: send: 0

* Adding handle: recv: 0

* Curl_addHandleToPipeline: length: 1

* - Conn 0 (0x7f9a74000000) send_pipe: 1, recv_pipe: 0

* About to connect() to atlas.ripe.net port 443 (#0)

*   Trying 2001:67c:2e8:22::c100:69e...

* Connected to atlas.ripe.net (2001:67c:2e8:22::c100:69e) port 443 (#0)

* TLS 1.2 connection using TLS_RSA_WITH_AES_256_CBC_SHA256

* Server certificate: *.ripe.net

* Server certificate: DigiCert High Assurance CA-3

* Server certificate: DigiCert High Assurance EV Root CA

* Server certificate: Baltimore CyberTrust Root

> GET /api/v1/measurement/xxxxxxxxxxx/result/?start=1392336000&stop=1392249599&format=json HTTP/1.1

> User-Agent: curl/7.30.0

> Host: atlas.ripe.net

> Accept: */*

< HTTP/1.1 401 UNAUTHORIZED

< Date: Wed, 21 May 2014 20:14:54 GMT

* Server Apache is not blacklisted

< Server: Apache

< Vary: Cookie

< Set-Cookie: atlasessp=3933053c2caeb8d03a3179fa216e0882; Domain=atlas.ripe.net; expires=Wed, 04-Jun-2014 20:14:54 GMT; httponly; Max-Age=1209600; Path=/

< Content-Length: 0

< Connection: close

< Content-Type: text/html; charset=utf-8

* Closing connection 0