Skip to content

Commit cd6fc7c

Browse files
author
Udhayakumar Govindarajan
authored
Update README.md
1 parent cf5cf7f commit cd6fc7c

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55
This repository contains the code samples for RESTFul Webservice developed using Spring Boot 2.0. This tutorial would be helpful for beginners who start with implementing REST Api using Spring Boot.
66

7-
## Prerequisistes
7+
## Prerequisites
88

99
You need to install below software(s) before you begin with. If you have them already installed in your Machine, well and good.
1010

11-
* IDE - Any one from below:
11+
* IDE - Any one from below of your choice:
1212
* [Eclipse](https://www.eclipse.org/downloads/)
1313
* [Spring Tool Suite](https://spring.io/tools/sts/all)
1414
* [IntelliJ IDEA](https://www.jetbrains.com/idea/download/)
1515
* JDK / JRE - Preferably [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
16-
* HTTP Client to test REST Api (Any one from below):
16+
* HTTP Client to test REST Api (Any one from below of your choice):
1717
* [Post Man](https://www.getpostman.com/) - It also comes as Chrome extension.
1818
* [Advanced REST Client](https://install.advancedrestclient.com/#/install) - It also comes as Chrome extension.
1919
* Apach Maven - Install only when you build project outside of your IDE. IDE does come with built in Maven.
@@ -93,11 +93,13 @@ You will learn:
9393
* A simple greeting Service is created that respond with 'Good Morning' message based on the Accept-language set in request header.
9494
* For now it handles, English, French, Tamil and Hindi locale.
9595

96-
##### XML Model
96+
##### End points
9797

98-
##### JSON Model
98+
http://localhost:9001/i18n/ (Make sure the application is running before your try to access the Endpoint)
9999

100-
##### End points
100+
###### Request Header
101+
102+
Accept-Language: ta (or) Accept-Language: fr (or) Accept-Language: hi
101103

102104
### Demo Project
103105

@@ -118,12 +120,14 @@ Also planning to deploy both Angular and Rest service in AWS so that you can see
118120

119121
Watch the space !
120122

121-
##### XML Model
123+
##### XML/JSON Model
122124

123-
##### JSON Model
125+
https://gist.github.com/smartudhaya/842879f043019e74130b1da33b016845
124126

125127
##### End points
126128

129+
Check Swagger UI for all Endpoints - http://localhost:8080/swagger-ui.html (Make sure you imported the application and it is up & running before you access Endpoint).
130+
127131
## Deployment
128132

129133
For Example 1: Run / Deploy on Apache Tomcat Server.

0 commit comments

Comments
 (0)