From a634206e5f8932a66bc647c5fa95b95fd466a4d1 Mon Sep 17 00:00:00 2001 From: Vitalie Lazu Date: Mon, 12 Jan 2009 04:47:17 +0800 Subject: [PATCH] Fixed typo on /integrations/rest_api page, missing closing todo tag and project_id Signed-off-by: Reinier Balt --- app/views/integrations/rest_api.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/integrations/rest_api.html.erb b/app/views/integrations/rest_api.html.erb index 4ab9a2b7..e4769410 100644 --- a/app/views/integrations/rest_api.html.erb +++ b/app/views/integrations/rest_api.html.erb @@ -1,5 +1,5 @@

REST API Documentation for Developers

- +

Introduction

Tracks is designed to be integrated with scripts, web services, and third-party applications. This page serves as the documentation of our REST API.

@@ -86,7 +86,7 @@ Location: <%= home_url %>projects/65.xml
 
 $ curl -u username:p4ssw0rd -H "Content-Type: text/xml" \
-    -d "<todo><description>Model treehouse in SketchUp</description><context_id>2</context_id><project_id>65<project_id>" \
+    -d "<todo><description>Model treehouse in SketchUp</description><context_id>2</context_id><project_id>65</project_id></todo>" \
     <%= home_url %>todos.xml -i
 >> HTTP/1.1 201 Created
 Location: <%= home_url %>todos/452.xml