User profile profile create

POST /user-profile/profile/

Body Required

Responses

  • 201 application/json
    Hide response attributes Show response attributes object
curl \
 --request POST 'http://api.example.com/user-profile/profile/' \
 --header "Content-Type: application/json" \
 --data '{"user":42,"bio":"string","location":"string","birth_date":"2025-05-04"}'
curl \
 --request POST 'http://api.example.com/user-profile/profile/' \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'user=42&bio=string&location=string&birth_date=2025-05-04'
curl \
 --request POST 'http://api.example.com/user-profile/profile/' \
 --header "Content-Type: multipart/form-data" \
 --form "user=42" \
 --form "bio=string" \
 --form "location=string" \
 --form "birth_date=2025-05-04"
Request examples
{
  "user": 42,
  "bio": "string",
  "location": "string",
  "birth_date": "2025-05-04"
}
Response examples (201)
{
  "id": 42,
  "user": 42,
  "bio": "string",
  "location": "string",
  "birth_date": "2025-05-04"
}