I have retrieved data from an external database using REST. Now that it is cached in my Drupal 7 site in tables, I need to create new nodes of a specific content type. Works fine for most fields (e.g., text), but... How do I (using JavaScript) insert data into a text-list field? And, into field-collection fields?

  • With Postman or some other tool, try doing a GET on your node and see how json is structured. – No Sssweat May 20 '16 at 5:57
  • @No-Sssweat From Postman: Did not show JSON (Unexpected '<'), only XML or HTML. – dkrockville May 20 '16 at 17:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.