In continuation to this question, can you please give an example of a valid input json to simultaneously create a new User and UserProfile?
While this successfully creates a new user on User end-point:
{
"username": "newuser",
"password": "abc"
}
But this fails on UserProfile end-point:
{
"user":{
"username": "newuser2",
"password": "abc"
}
"biography": "1",
}
Returning:
{
"user": [
"This field cannot be null."
]
}