What is the correct way to structure the payload for a POST request to "
http://localhost:3200/api/programas" in order to create a new document that only includes a {title: string}? The document is created, but all its fields are empty.
@JulianDM1995 Did you include title in your post body?
I tried {title: “my title”} in the body
The document is created but no title is included
Do you have the code you used to do the POST?
A nice way to see body structure is to do the operation in the admin panel with your browser network tab open.
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.