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 @@
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