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

You should add better error responses on Core CurrentsAPI #4

Open
tejas-kr opened this issue Jan 13, 2024 · 0 comments
Open

You should add better error responses on Core CurrentsAPI #4

tejas-kr opened this issue Jan 13, 2024 · 0 comments

Comments

@tejas-kr
Copy link

I sent the below request

curl --location --request GET 'https://api.currentsapi.services/v1/latest-news?language=hn&apiKey=VeryNiceKey'

Notice I have sent language=hn and the API returned below resp -

{
    "status": "500",
    "msg": "Server failed"
}

You should be more specific for the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant