<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Gurus,</div>
<div><br>
</div>
<div>I am new to RIPE API and hope someone can help me get through this.  </div>
<div><br>
</div>
<div>Could some please let me know what is the proper way to use �curl� to get data back from following URL? </div>
<div>I could use the same login name/password get in web portal but not from command line. Do I have to encode </div>
<div>my logins? Or should I pass my logins as part of the URL parameters?</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Hong Ye</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">https://atlas.ripe.net/api/v1/measurement/xxxxxxxxxxx/result/?start=1392336000&stop=1392249599&format=json</p>
</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Adding handle: conn: 0x7f9a74000000</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Adding handle: send: 0</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Adding handle: recv: 0</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Curl_addHandleToPipeline: length: 1</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* - Conn 0 (0x7f9a74000000) send_pipe: 1, recv_pipe: 0</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* About to connect() to atlas.ripe.net port 443 (#0)</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">*   Trying 2001:67c:2e8:22::c100:69e...</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Connected to atlas.ripe.net (2001:67c:2e8:22::c100:69e) port 443 (#0)</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* TLS 1.2 connection using TLS_RSA_WITH_AES_256_CBC_SHA256</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Server certificate: *.ripe.net</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Server certificate: DigiCert High Assurance CA-3</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Server certificate: DigiCert High Assurance EV Root CA</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Server certificate: Baltimore CyberTrust Root</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">> GET /api/v1/measurement/xxxxxxxxxxx/result/?start=1392336000&stop=1392249599&format=json HTTP/1.1</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">> User-Agent: curl/7.30.0</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">> Host: atlas.ripe.net</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">> Accept: */*</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">> </p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< HTTP/1.1 401 UNAUTHORIZED</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Date: Wed, 21 May 2014 20:14:54 GMT</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Server Apache is not blacklisted</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Server: Apache</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Vary: Cookie</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Set-Cookie: atlasessp=3933053c2caeb8d03a3179fa216e0882; Domain=atlas.ripe.net; expires=Wed, 04-Jun-2014 20:14:54 GMT; httponly; Max-Age=1209600; Path=/</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Content-Length: 0</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Connection: close</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< Content-Type: text/html; charset=utf-8</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">< </p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo;">* Closing connection 0</p>
</div>
<div><br>
</div>
<div><br>
</div>
</body>
</html>