Associate user with content post

[details=“System Information”]

  • Strapi Version: 3.4.6
  • Operating System: Windows
  • Database: SqlLite
  • Node Version: 14.15.5
  • NPM Version: 7.5.0
  • Yarn Version: 1.22.10
    [/details]—

I’d like to post some content to Strapi and also send the username along with that so it is associated with the record. FYI, my endpoint allows anonymous so I’m not getting a JWT token first.

Take a look at the relations sections:

https://strapi.io/documentation/developer-docs/latest/concepts/models.html#relations

You can attach the content to the user by sending its ID inside the request.