[SRD] Modified the read me file

Modified the read me file
parent 20beeed8
...@@ -18,9 +18,11 @@ git clone https://gitlab.mynisum.com/vrajesh/spring-reactive-demo.git ...@@ -18,9 +18,11 @@ git clone https://gitlab.mynisum.com/vrajesh/spring-reactive-demo.git
`` ``
cd spring-reactive-demo cd spring-reactive-demo
`` ``
`` ``
mvn package mvn package
`` ``
`` ``
java -jar target/spring-reactive-demo-1.0-SNAPSHOT.jar java -jar target/spring-reactive-demo-1.0-SNAPSHOT.jar
`` ``
...@@ -35,24 +37,28 @@ mvn spring-boot:run ...@@ -35,24 +37,28 @@ mvn spring-boot:run
The server will start at http://localhost:8080. The server will start at http://localhost:8080.
`` ``
Exploring the Rest APIs Exploring the Rest APIs. The application defines following REST APIs
The application defines following REST APIs
`` ``
1. GET /myTweets - Get All Tweets 1. GET /myTweets - Get All Tweets
`` ``
`` ``
2. POST /createTweet - Create a new Tweet 2. POST /createTweet - Create a new Tweet
`` ``
`` ``
3. GET /myTweets/{tweetId} - Retrieve a Tweet by Id 3. GET /myTweets/{tweetId} - Retrieve a Tweet by Id
`` ``
`` ``
4. PUT /myTweets/{tweetId} - Update a Tweet 4. PUT /myTweets/{tweetId} - Update a Tweet
`` ``
`` ``
5. DELETE /myTweets/{tweetId} - Delete a Tweet 5. DELETE /myTweets/{tweetId} - Delete a Tweet
`` ``
`` ``
6. GET /stream/tweets - Stream tweets to a browser as Server-Sent Events 6. GET /stream/tweets - Stream tweets to a browser as Server-Sent Events
`` ``
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment