GitHunt
DI

didorg/consuming_Web_Services

A basic web application that consumes a RESTful web service. Transforms the result into a new object that returns as json. "Thinking in microservices". Plus -> Scheduling tasks. Example implemented

Consuming a RESTful Web Service (Thinking in microservices)

PLUS -> Scheduling Tasks example

Spring Framework, Spring Boot, Maven, Jetty, Java 1.8
Open ConsumingWebServicesApplication Java Class in:
src->main->java->com.dido.mms.cws and then run the Class

in your browser, put this url:

username: user
password: password

Now you see the json
{...}

for chrome you need open:

chrome://extensions/
and add -> "JSON Formatter" to format the json result

enter @RequestParam -> ?name=Adam
example: http://localhost:8080/random?name=Adam

Bibliography:

Languages

Java89.6%HTML10.4%

Contributors

Created November 2, 2018
Updated June 5, 2021