diff --git a/doc/rapi.rst b/doc/rapi.rst
index c2ed7c459789530186f84f5286daeab18f71626f..8dc8f3b722c13cdb026f407a612a19ce13e89aed 100644
--- a/doc/rapi.rst
+++ b/doc/rapi.rst
@@ -49,7 +49,7 @@ Python
 ::
 
   import urllib2
-  f = urllib2.urlopen('https://CLUSTERNAME:5080/info')
+  f = urllib2.urlopen('https://CLUSTERNAME:5080/2/info')
   print f.read()
 
 
@@ -63,7 +63,7 @@ JavaScript
 
 ::
 
-  var url = 'https://CLUSTERNAME:5080/info';
+  var url = 'https://CLUSTERNAME:5080/2/info';
   var info;
   var xmlreq = new XMLHttpRequest();
   xmlreq.onreadystatechange = function () {