I was wondering what the best way to go about this would be and if this is even possible.
Basically I'm using Parse Server for my backend and I want to do query an API every 5 minutes for new data to populate my tables with.
I was thinking of having a cloud code function that the client could call and it would check the last updated time and if greater than 5 minutes query the API to get new data and populate the tables.
However I'm not sure it's possible to do a HTTP GET request in cloud code, if it is I'm not sure how to do it.
Also I'm wondering if this is the best way to go about solving my problem at hand? If not what would be a better alternative? The API query is very quick and returning some basic JSON data.