Skip to content

Commit

Permalink
update connector editing
Browse files Browse the repository at this point in the history
  • Loading branch information
mharthoorn committed Feb 24, 2016
1 parent f3c5eb1 commit 2224d22
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs_simplifier/simplifierWriteConnector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,22 @@ There are several things that you will likely do when you write a connector scri
- JQuery.Redirect 1.0.1
- Fhir.js


If you wish to fetch data from a server
.. code-block:: Javascript
$.get("spark.furore.com/fhir/Patient/1").succes(function()
$.get(url).succes(function()
{

});

$.post(url, body).succes(function()
{

});

To redirect to a different page:
To redirect to a different page, with a POST body payload:

.. code-block:: Javascript
$.redirect(url, body);

Place holders
-------------
Expand Down

0 comments on commit 2224d22

Please sign in to comment.