Getting the JSON Patch of featured image from Wordpress API CALL with FlutterFlow

152 views Asked by At

I am trying to get the featured image link from an api call to my Wordpress page. The api call works well and the JSON Path should be something like this:

$[:]._embedded.wp:featuredmedia[:].link

I am doing it with FLUTTERFLOW and everytime I write the two dots after “wp” it gets red and says “End of input expected”. So I can not get this information.

I have tried many possibilities like:

$[:]._embedded.wp[:]featuredmedia[:].link

$[:]._embedded.wp”:”featuredmedia[:].link

Etc.

But it gets red everytime.

Could you help me with that? Thanks in advance.

1

There are 1 answers

0
jRuMoL On

The solution was:

$[:]._embedded['wp:featuredmedia'][:].source_url