Drupal, REST and XML

Frank Ralf's picture

Comments

It is possible to POST more than one article at once?

gdevashi's picture

Please give me example how to POST two or more articles at once?
Something like this:
{
"_links":{
"type":{
"href":"http://drupal8/rest/type/node/article"
}
},
"title":[{"value":"Title 1"} ],
"title":[{"value":"Title 2"} ],
}
Result: Status Code: 400 Bad Request "Syntax error"

It is even possible for a single request to add more than one article?
Thanks!

Wrong place

Frank Ralf's picture

Hi gdevashi,

I'm sorry but you probably won't get an answer to your question here. Any suggestions for implementing a DITA-capable Drupal CMS still use Drupal 7. You have more chances for success at https://www.drupal.org/node/2098511 - and please refrain from cross-posting.

Thanks!
Frank

DITA Tech Comm CMS

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: