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

The endpoint for API querys is wrong. #2

Open
equetzal opened this issue Feb 3, 2023 · 1 comment
Open

The endpoint for API querys is wrong. #2

equetzal opened this issue Feb 3, 2023 · 1 comment

Comments

@equetzal
Copy link

equetzal commented Feb 3, 2023

Some of the URLs for querying the API does not work nowadays.

let response = await axios.get('https://vjudge.net/status/data/?draw=1&start='+data.start+'&length='+data.length+'&un='+data.un+'&num='+data.num+'&res='+data.res+'&language='+data.language+'&inContest='+data.inContest+'&contestId='+data.contestId);

For example, in the referenced line the resquest is being performed on https://vjudge.net/status/data/? but the endpoint is https://vjudge.net/status/data?.

@rahathossain690
Copy link
Owner

Thank you. I have changed the endpoint now.

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

2 participants