Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

How to set a timer around a GET call to an API endpoint?

$
0
0

I have a very simple script, one GET call to an API endpoint.

It takes an ID number and returns payload of demographics.

Script runs but because it is just a single call i dont get times in the results.

I just want to know how long each GET/Response took similar to what you would get for a page request.

Is there an easy way to do this or can a timer be placed before and after call to record rough time?

Thanks

David


Viewing all articles
Browse latest Browse all 2283

Trending Articles



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