Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
title1) Method - the action to be performed on a resource

The method indicates the action to be performed on a resource within the API. 

With Iguana’s net.http.* library, you can invoke different HTTP methods:  

  • GET net.http.get{} - query or retrieve resources.

  • POST net.http.post{} - to add or create a resource.

  • PUT net.http.put{} - update an existing resource.

  • DELETE net.http.delete{} - remove a resource.

Expand
title2) Endpoint - the URL where the resource is found

The URL defines where the client can access the desired resources - for example the Patient resource.  

For GET requests, the URL may also contain any necessary query parameters like the id of the patient you are searching for.  

...