diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py
index <HASH>..<HASH> 100644
--- a/saltapi/netapi/rest_cherrypy/app.py
+++ b/saltapi/netapi/rest_cherrypy/app.py
@@ -1315,14 +1315,14 @@ class WebsocketEndpoint(object):
 
             **Example request**::
 
-                curl -NsS \
-                    -H 'X-Auth-Token: ffedf49d' \
-                    -H 'Host: localhost:8000' \
-                    -H 'Connection: Upgrade' \
-                    -H 'Upgrade: websocket' \
-                    -H 'Origin: http://localhost:8000' \
-                    -H 'Sec-WebSocket-Version: 13' \
-                    -H 'Sec-WebSocket-Key: '"$(echo -n $RANDOM | base64)" \
+                curl -NsS \\
+                    -H 'X-Auth-Token: ffedf49d' \\
+                    -H 'Host: localhost:8000' \\
+                    -H 'Connection: Upgrade' \\
+                    -H 'Upgrade: websocket' \\
+                    -H 'Origin: http://localhost:8000' \\
+                    -H 'Sec-WebSocket-Version: 13' \\
+                    -H 'Sec-WebSocket-Key: '"$(echo -n $RANDOM | base64)" \\
                     localhost:8000/ws
 
             .. code-block:: http
Added missing backslash escapes for websocket example