System Information
- latest:
- windows:
- default:
- latest:
- latest:
- Yarn Version:
I cannot populate my relation field. I have given it a good go to try to get it to work and have read most of the q&a on the forum and the documentation. To highlight the issue. I have two tables:
question: with a text field q and a relation: answer that has a 1 to 1 relationship to the table answer.
answer: has a text field called a
To keep it simple I am using POSTman with the following:
http://localhost:1337/api/questions
each variation does not populate the relation field
{"data":{
"q": "this answer is b",
"answers": "b"
}}
{"data":{
"q": "this answer is b",
"answers": {"a":"b"}
}}
{"data":{
"q": "this answer is b",
"answers": [{"a":"b"}]
}}
{"data":{
"q": "this answer is b",
"a": "b"
}}
I have given it a lot of time to try to get this to work, but I have to ask for help on this sorry.