<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>script/deliver_payload</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -42,9 +42,6 @@ Running the server locally
 How to test your service
 ------------------------
 
-1. Start the local server using `ruby github-services.rb`. By default, it runs on port 8080.
-2. Test your service by posting to http://localhost:8080/service_name/ with the params example found in docs/github_payload
-
-    Example using curl: `curl -F &quot;data={}&amp;params={}&quot; http://localhost:8080/service_name/`
-    
-3. That should trigger a request to your service which will send your server the payload.
\ No newline at end of file
+1. Start the github-services Sinatra server with `ruby github-services.rb`. By default, it runs on port 8080.
+2. Edit the doc/github_payload file as necessary to test your service.  (Usually just editing the &quot;data&quot; values but leaving the &quot;payload&quot; alone.)
+3. Send the doc/github_payload file to your service by calling: `./script/deliver_payload [service-name]`  </diff>
      <filename>README.mkdn</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 service :runcoderun do |data, payload|
   runcoderun_url = URI.parse(&quot;http://runcoderun.com/github&quot;)
-  Net::HTTP.post_form(runcoderun_url, payload)
+  Net::HTTP.post_form(runcoderun_url, :payload =&gt; JSON.generate(payload))
+  &quot;this output here to make the Sinatra happy when testing a GitHub service, biznatch!&quot;
 end</diff>
      <filename>services/runcoderun.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0d82100f315fac4da22e8a4b70d7ccacc1481cd3</id>
    </parent>
  </parents>
  <author>
    <name>Larry Karnowski</name>
    <email>larry@thinkrelevance.com</email>
  </author>
  <url>http://github.com/pjhyett/github-services/commit/7fb1dd3857269fd3252bdfe10b13d518e04935cd</url>
  <id>7fb1dd3857269fd3252bdfe10b13d518e04935cd</id>
  <committed-date>2009-09-02T15:08:13-07:00</committed-date>
  <authored-date>2009-09-02T15:08:13-07:00</authored-date>
  <message>Added a script that creates the correct Curl command to test your local github-service.  Had to change the marshalling of the payload for RunCodeRun.</message>
  <tree>afb9d17b70249f47d5143fcc8e9b4c8b802584cb</tree>
  <committer>
    <name>Larry Karnowski</name>
    <email>larry@thinkrelevance.com</email>
  </committer>
</commit>
