From 1a5845d06c8242990b6bab90c6f4d974b5eadb35 Mon Sep 17 00:00:00 2001 From: antao Date: Tue, 19 Mar 2019 18:26:09 +0800 Subject: [PATCH] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a108ffe..0388327c 100755 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ void TestCtrl::asyncHandleHttpRequest(const HttpRequestPtr& req, } ``` -Don't be scared by the code. Most of the above programs can be automatically generated by the command line tool `drogon_ctl` provided by drogon. All the user needs to do is add their own business logic. In the example, the controller returns a `Hello, world!` string when the client accesses the `http://ip/test` URL. +**Don't be scared by the code. Most of the above programs can be automatically generated by the command line tool `drogon_ctl` provided by drogon**. All the user needs to do is add their own business logic. In the example, the controller returns a `Hello, world!` string when the client accesses the `http://ip/test` URL. For JSON format response, we create the controller as follows: @@ -160,4 +160,4 @@ class User : public drogon::HttpController As you can see, users can use the `HttpController` to map paths and parameters at the same time. This is a very convenient way to create a RESTful API application. -After compiling all of the above source files, we get a very simple web application. This is a good start. for more information, please visit the **[wiki](https://github.com/an-tao/drogon/wiki)** site +After compiling all of the above source files, we get a very simple web application. This is a good start. **for more information, please visit the [wiki](https://github.com/an-tao/drogon/wiki) site**