http://localhost:1337/user POST {"userId":"zoi","username":"Aoba Suzukaze"}
http://localhost:1337/tweet POST {"user": 1, "content": "Kyou mo ichinichi ganbaru zoi"}
this attribute "user"
is the attribute User.id
, that is User's primary key and is assigned automatically.