Skip to content

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

Notifications You must be signed in to change notification settings

didorg/consuming_Web_Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages