Tattle on a Contest Entry

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: ==== Tattle on a Contest Entry ==== Tattle on an entry: $ curl -i -X POST -H "Accept: text/xml" \ -dprofile=http://127.0.0.1:10001/v1/solution/contestv2v2/profile/1.5J4L55FNLN2CZZDV ...)
(Tattle on a Contest Entry)
Line 11: Line 11:
Cache-Control: no-cache
Cache-Control: no-cache
Connection: close
Connection: close
-
Date: Thu, 01 Apr 2010 04:00:00 GMT
+
Date: Sat, 10 Jul 2010 10:49:00 GMT
Pragma: no-cache
Pragma: no-cache
Server: POE HTTPD Component/0.09 (5.008008)
Server: POE HTTPD Component/0.09 (5.008008)
-
Content-Length: 502
+
Content-Length: 81
Content-Type: text/xml; charset=utf-8
Content-Type: text/xml; charset=utf-8
-
Expires: Mon, 26 Jul 2010 18:18:57 GMT
+
Expires: Tue, 27 Jul 2010 02:31:22 GMT
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<result>
<result>
-
<entry>
+
<status>1</status>
-
<body>this is the body of my essay</body>
+
-
<category></category>
+
-
<city></city>
+
-
<description></description>
+
-
<entry_id></entry_id>
+
-
<entry_state>MI</entry_state>
+
-
<first_name></first_name>
+
-
<last_name></last_name>
+
-
<rating_ave>0.857</rating_ave>
+
-
<rating_count>7</rating_count>
+
-
<state></state>
+
-
<title>this is the title of my essay</title>
+
-
<views>0</views>
+
-
<votes>0</votes>
+
-
</entry>
+
</result>
</result>

Revision as of 02:32, 27 July 2010

Tattle on a Contest Entry

Tattle on an entry:

$ curl -i -X POST -H "Accept: text/xml" \
  -dprofile=http://127.0.0.1:10001/v1/solution/contestv2v2/profile/1.5J4L55FNLN2CZZDV \
  -dreason='not work safe' \
  http://127.0.0.1:10001/v1/solution/contestv2/contest/entry/1/tattle

HTTP 200 (OK)
Cache-Control: no-cache
Connection: close
Date: Sat, 10 Jul 2010 10:49:00 GMT
Pragma: no-cache
Server: POE HTTPD Component/0.09 (5.008008)
Content-Length: 81
Content-Type: text/xml; charset=utf-8
Expires: Tue, 27 Jul 2010 02:31:22 GMT

<?xml version="1.0" encoding="UTF-8" ?>
<result>
  <status>1</status>
</result>