You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2015/10/06 13:51:09 UTC
svn commit: r967938 - in /websites/staging/olingo/trunk/content: ./
doc/odata4/tutorials/action/tutorial_action.html
Author: buildbot
Date: Tue Oct 6 11:51:07 2015
New Revision: 967938
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct 6 11:51:07 2015
@@ -1 +1 @@
-1707007
+1707014
Modified: websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html (original)
+++ websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html Tue Oct 6 11:51:07 2015
@@ -604,6 +604,33 @@ A cleverer implementation can handle bot
<h1 id="4-run-the-implemented-service">4. Run the implemented service<a class="headerlink" href="#4-run-the-implemented-service" title="Permanent link">¶</a></h1>
+<p>After building and deploying your service to your server, you can try the following requests:</p>
+<p><strong>Functions (Called via GET)</strong> </p>
+<ul>
+<li><a href="http://localhost:8080/DemoService-Action/DemoService.svc/CountCategories(Amount=2)">http://localhost:8080/DemoService-Action/DemoService.svc/CountCategories(Amount=2)</a> </li>
+<li><a href="http://localhost:8080/DemoService-Action/DemoService.svc/CountCategories(Amount=2)(0)">http://localhost:8080/DemoService-Action/DemoService.svc/CountCategories(Amount=2)(0)</a></li>
+</ul>
+<p><strong>Actions (Called via POST)</strong> <br />
+<em>Note:</em> Set the Content-Type header to: Content-Type: application/json</p>
+<ul>
+<li>
+<p><a href="http://localhost:8080/DemoService-Action/DemoService.svc/Reset">http://localhost:8080/DemoService-Action/DemoService.svc/Reset</a> <br />
+ Content: </p>
+<div class="codehilite"><pre><span class="p">{</span> <span class="p">}</span>
+</pre></div>
+
+
+</li>
+<li>
+<p><a href="http://localhost:8080/DemoService-Action/DemoService.svc/Reset">http://localhost:8080/DemoService-Action/DemoService.svc/Reset</a> <br />
+ Content: </p>
+<p 1="1" _Amount_:=""Amount":">::::json</p>
+</li>
+</ul>
+<p>To verify that the service has been reseted, you can request the collection of products</p>
+<ul>
+<li><a href="http://localhost:8080/DemoService-Action/DemoService.svc/Products">http://localhost:8080/DemoService-Action/DemoService.svc/Products</a></li>
+</ul>
<h1 id="5-links">5. Links<a class="headerlink" href="#5-links" title="Permanent link">¶</a></h1>
<h3 id="tutorials">Tutorials<a class="headerlink" href="#tutorials" title="Permanent link">¶</a></h3>
<p>Further topics to be covered by follow-up tutorials:</p>