Send a Contest Entry Link
From ePrize Developers Wiki
(Difference between revisions)
(New page: ==== Send a Link to a Contest Entry ==== $ curl -i -X POST -H "Accept: text/xml" \ -dprofile=http://127.0.0.1:10001/v1/solution/contestv2v2/profile/1.5J4L55FNLN2CZZDV \ http://127....) |
(→Send a Link to a Contest Entry) |
||
Line 3: | Line 3: | ||
$ curl -i -X POST -H "Accept: text/xml" \ | $ curl -i -X POST -H "Accept: text/xml" \ | ||
-dprofile=http://127.0.0.1:10001/v1/solution/contestv2v2/profile/1.5J4L55FNLN2CZZDV \ | -dprofile=http://127.0.0.1:10001/v1/solution/contestv2v2/profile/1.5J4L55FNLN2CZZDV \ | ||
+ | -dname=Friend \ | ||
+ | -demail='friend@sample.com' \ | ||
http://127.0.0.1:10001/v1/solution/contestv2/contest/entry/1/send_a_link | http://127.0.0.1:10001/v1/solution/contestv2/contest/entry/1/send_a_link | ||
Revision as of 02:35, 27 July 2010
Send a Link to a Contest Entry
$ curl -i -X POST -H "Accept: text/xml" \ -dprofile=http://127.0.0.1:10001/v1/solution/contestv2v2/profile/1.5J4L55FNLN2CZZDV \ -dname=Friend \ -demail='friend@sample.com' \ http://127.0.0.1:10001/v1/solution/contestv2/contest/entry/1/send_a_link 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>