In Drupal 8,

How do i consume JSON from external URL and display in a custom block inside a module? I have created the module but all that is left is how i can show the json result inside the the custom block in drupal 8. Any help is much appreciated


docans created an issue. See original summary.

cilefen’s picture

Priority: Major » Normal
Status: Active » Fixed

The Drupal core issue queue is often not an ideal place for this kind of how-to support. Try asking in Slack or in IRC in the #drupal or #drupal-support channels. Also, the Support forum and Drupal Answers on StackExchange can be helpful.

Good luck!