Sign in

How to record the result data of the third party interface in a period of time?

jmzdx edited in Mon, 27 Jun 2022

At present, a business needs to rely on the interface of a third party, which is provided in the form of HTTP. But the data of the third party interface will change over time. for example ( Between 1:00 and 2:00, every minute )。 I want to record the data returned from the HTTP interface within one hour. And then provide our own business for replay testing and debugging. What is the solution?

1 Replies
commented on Mon, 27 Jun 2022

It's kind of like a crawler. You can use js to write an Ajax polling, polling once every other period of time, and save the results. Consider using node.

lock This question has been locked and the reply function has been disabled.