-1

I have external REST service with some info about products. This comes from some software of the company.

How I can use this JSON I got to create nodes and fill in the fields in nodes?

Also, I need to detect when something is changed and to update field in existing node.

I'm on Drupal 8 and I'm getting JSON with POST method (I need to send 'id' parameter in order to get product for exact client).

Any ideas?

1
  • Could you post some code with what you're trying to do? Also, is it necessary to post the request or can you make a GET request? The call for the data would be handy to see too. Apr 13, 2017 at 13:18

1 Answer 1

0

The Feeds Module does this great for D7, offering cron imports and ability to update existing nodes/etc. Looks like they have a D8 branch, but I haven't tested. Might be helpful to look at for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.