Call wordpress REST API from Fibery

Hi,

We are keeping track of some stats using Fibery and we would like to pass info to our Wordpress instance.

While we could call the Fibery API from Wordpress, we were hoping to use Fibery Rules to send a call to Wordpress instead. Mostly for optimization, as we only want to update the wordpress info when the fibery database has been updated.

Is there a way to nicely do this? Our flow would basically be:

  1. Entry is added to database in Fibery
  2. Fibery rule is triggered when entry is added
  3. Fibery sends a Patch/Post to wordpress using the REST API to update a page using info from this entry

We dont see any existing integrations, and we tried it via Javascript using Fetch and XMLHttpRequest, but Fibery’s Javascript integration does not support either of them.

Thank you for the help

Have you tried using http calls in an automation script?

not yet, we’ll give it a go, thanks

We botched the format a bit the first time around, but it is working now. Thank you for the comment!

1 Like