soon530 / nestjs-study

來學一下nestjs吧!
0 stars 0 forks source link

json是雙引號 #13

Open soon530 opened 2 years ago

soon530 commented 2 years ago

輸入這樣,一直出錯,還以為怎麼了?

{
    'title': 'title',
    'description': 'body example.'
}
image
soon530 commented 2 years ago

改雙引號就沒事了。

{
    "title": "title",
    "description": "body example."
}