Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i'm working with rest api and i have a query

count the number of times success runs, failure runs and if code fails then send a email.

What I have tried:

i have a url and i want how many times url status is success = true and success = false
Posted
Updated 15-Jul-21 3:00am
v2
Comments
OriginalGriff 15-Jul-21 2:14am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

When you make the call to the API check the return status. Then record the results in a database so that you can then count how many times it was successful, etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900