Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Joekz on
How can i specify author in postman en JSON format when i want to create node with POST ?
i tried {"title":"test","type":"article","author":"admin"} but didn't work
when i remove author it's work, but i need it.
Comments
Maybe try replacing the
Maybe try replacing the username "admin" with the user uid.
I like cookies!
It's working
{"title":"testrest","type":"article","language":"english","author": {
"id": "1"
}}