diff --git a/scripts/server-backend.js b/scripts/server-backend.js index 73c231e..0747cc2 100644 --- a/scripts/server-backend.js +++ b/scripts/server-backend.js @@ -208,6 +208,9 @@ export default function startBackendServer(port) { * * @apiSuccess {String} body returns "done" as text * @apiError {Number} 401 Unauthorized + * + * @apiExample {curl} Example usage to draw a circle: + * curl -i http://[rootUrl]/api/drawToWhiteboard?wid=[MyWhiteboardId]&t=circle&d=[388,201,100]&th=4 */ app.get("/api/drawToWhiteboard", function (req, res) { let query = escapeAllContentStrings(req["query"]);