Creating web services

Introduction

Creating a web service using a translator script in the From HTTPS component is very easy. You can import web service calls from the logs to use as test data, and edit the code on the fly to get the behaviour right. This article presents some examples, with code for you to try out:

Web service link Description
Hello World Probably the simplest web service in the world! No authentication.
Get the current date and time This simple web service uses basic authentication and returns an XML response with the time.username = admin and password = password.
Patient demographics A more complex example that uses JSON and services multiple requests. username = admin and password = password.
Tagged:

One Comment

  1. Pingback: Auto-Generating Code for Easy Reporting and Alerts

Leave A Comment?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.