AnswerBun.com

External GraphQL API support with Twig

Craft CMS Asked by Deepak Kale on March 9, 2021

I have external GraphQL API’s to get data which will be used in Twig Templates. This has nothing to do with Craft data or Craft’s content. Is there a way to call GraphQL from Twig template instead of using javascript or something else.

Add your own answers!

Related Questions

Strange 404 Errors

1  Asked on May 27, 2021

 

Contact Form – Missing submissions

1  Asked on May 27, 2021 by springboynick

   

Duplicate content from www and non-www

2  Asked on May 27, 2021 by alex-carpenter

 

Seomatic – show only global site title

2  Asked on May 24, 2021 by filip-bartnicki

 

PHP Login & Sessions without Craft Commerce?

1  Asked on May 23, 2021 by jtr

     

Prevent caching from inside of the cache tag

2  Asked on May 23, 2021 by matthias-redl-mann

 

Redirect after password reset

0  Asked on May 22, 2021

   

Filter locations by country in Smart Map

2  Asked on May 21, 2021 by tom-de-smet

   

Where does Craft store HTML Templates?

1  Asked on May 18, 2021 by jordan-rennick

       

Invalid path alias: @ error

1  Asked on May 17, 2021 by tim-print

 

Form field as ‘Upload Location Subfolder’

0  Asked on May 15, 2021 by john-dunkel

         

Store Hours field in Matrix

0  Asked on May 15, 2021 by fodney

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir