You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- The server will not be able to parse the data correctly without the correct value in the header. It won't even try to guess the format of the data, since there's a [massive amount](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of potential <i>Content-Types</i>.-->
<!-- If you are using VS Code, then you should install the REST client from the previous chapter <i>now, if you haven't already</i>. The POST request can be sent with the REST client like this:-->
928
-
如果你使用的是 VS Code,那么你应该安装上一章的 REST 客户端<i>,如果你还没有的话 </i>。可以用 REST 客户端发送 POST 请求,就像这样。
928
+
如果你使用的是 VS Code,那么你应该安装上一章中的 REST 客户端,<i> 如果你还没有安装的话 </i>。POST请求可以像这样使用REST客户端发送:
Copy file name to clipboardExpand all lines: src/content/3/zh/part3b.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ lang: zh
11
11
接下来让我们把我们在[第二章节](/en/part2)中制作的前端连接到我们自己的后端。
12
12
13
13
<!-- In the previous part, the frontend could ask for the list of notes from the json-server we had as a backend, from the address http://localhost:3001/notes.-->
<!-- Our backend has a slightly different url structure now, as the notes can be found at http://localhost:3001/api/notes. Let's change the attribute __baseUrl__ in the <i>src/services/notes.js</i> like so:-->
<!-- Create Heroku account in https://devcenter.heroku.com/-->
143
-
在https://devcenter.heroku.com/,创建Heroku账户
143
+
在 https://devcenter.heroku.com/,创建Heroku账户
144
144
<!-- Install Heroku package using the command: npm install -g heroku-->
145
145
使用命令安装Heroku包:npm install -g heroku
146
146
<!-- Create a Heroku application with the command <i>heroku create</i>, commit your code to the repository and move it to Heroku with command <i>git push heroku main</i>.-->
@@ -178,7 +178,7 @@ node_modules
178
178
用<i>create-react-app</i>创建的应用的生产构建可以用[npm run build](https://github.com/facebookincubator/create-react-app#npm-run-build-or-yarn-build)命令创建。
179
179
180
180
<!-- **NOTE:** at the time of writing (20th January 2022) create-react-app had a bug that causes the following error _TypeError: MiniCssExtractPlugin is not a constructor_-->
<!-- A possible fix is found from [here](https://github.com/facebook/create-react-app/issues/11930). Add the following to the file <i>package.json</i>-->
0 commit comments