You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
How do I get response headers with result on successful call?
apiV1KC.get('/timestamp', async function(req, res) {
try {
const getTimestampRl = await KucoinAPI.rest.Others.getTimestamp();
//res.set(headers);
res.send(getTimestampRl); // Send the response back to the requester
} catch (error) {
res.status(500).send(error); // Send error response in case of an error
}
});