Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Trigger wp api http call based on external change

$
0
0

@emiliodom wrote:

Hi, I’m developing an app that consumes the Wordpress Api,
lets say I list all the posts in the current page. (client’s app)

The admin changes the title of Post X for example (with no intervention from the client),

How can I trigger the update through a new http call on the Client app? Without the client to press reload.

How can I know something changed without doing really noobish like a While Loop to keep executing the http call every x seconds for example

Should something else be used, like socket?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>