Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I get response headers of rate limit? #57

Open
hardiksinh opened this issue Mar 19, 2024 · 0 comments
Open

How do I get response headers of rate limit? #57

hardiksinh opened this issue Mar 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hardiksinh
Copy link

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
  }
});
@iamalanal iamalanal added the enhancement New feature or request label Jul 24, 2024
@ISAAC-XXYYZZ ISAAC-XXYYZZ self-assigned this Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants