Skip to content

Commit

Permalink
comments in dummy...
Browse files Browse the repository at this point in the history
  • Loading branch information
draptik committed Sep 3, 2013
1 parent 77857a9 commit 162ab36
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion frontend/app/views/dummy.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
Result from Angular Controller is: {{ bla }}
</p>
<p>
Result from Angular Controller' Factory is: {{ foo }}
Result from REST Web Service is: {{ foo }}
</p>
<p>
The result from REST Web Service should be: <b>JonFromREST</b>
</p>
<p>
If the result from REST Web Service is empty: Check that the backend REST Web Service is running and returning the expected result.
</p>
<ol>
<li>in modern browsers just open a new tab and enter <i>http://localhost:8080/ngdemo/web/dummy</i> <b>or</b></li>
<li>run the script <i>../test_backend.sh</i>, <b>or</b></li>
<li>execute curl directly from the command line:<i>curl -i -X GET -H 'Content-Type: application/json' http://localhost:8080/ngdemo/web/dummy </i><b>or</b></li>
</ol>
<p>Maybe you just forgot to start the backend REST Web Service? <i>../start_backend_java_backend.sh</i></p>
All of the above results should contain:
<div>
<b>{"id":0,"firstName":"JonFromREST","lastName":"DoeFromREST"}</b>
</div>
</div>

0 comments on commit 162ab36

Please sign in to comment.