/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

Primary LanguageJava

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: