spring.io/quickstart
3 Users
0 Comments
14 Highlights
0 Notes
Tags
Top Highlights
this code describes an endpoint that should be made available over the web
service
all the code required to create a simple “Hello World” web
is designed to take a String parameter called name,
use our hello() method
telling Spring to expect a name value in the request
Let’s build and run the program.
We can build and run the application by issuing the following command:
Spring Boot’s embedded Apache Tomcat server
is listening for requests on localhost port 8080
address bar
You should get a nice friendly response like this:
Now change the contents of the file by adding the extra method and annotations shown in the code below. You can copy and paste the code or just type it.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.