Abhijeet-AR / Competitive_Programming_Score_API

API to get user details for competitive coding platforms - Codeforces, Codechef, SPOJ, Interviewbit
MIT License
183 stars 59 forks source link

Better leetcode API #13

Closed saurabh-prakash closed 3 years ago

Abhijeet-AR commented 3 years ago

Thanks for the PR. I almost completed writing the code before I got interrupted. I used request without any CSRF token, it was still working. I checked if your code works without sending CSRF tokens, it is working. If that's the case we can totally remove selenium right? 🤔 Or am I missing something?

saurabh-prakash commented 3 years ago

Thanks for the PR. I almost completed writing the code before I got interrupted. I used request without any CSRF token, it was still working. I checked if your code works without sending CSRF tokens, it is working. If that's the case we can totally remove selenium right? 🤔 Or am I missing something?

@Abhijeet-AR you're correct. I was trying APIs in Postman earlier in the day and I remember I got a csrf error at some point. Looking at history, I got that message when my graphql was incorrect (although weird).

Removed that part and it makes code simple.

Thanks for catching that.

Abhijeet-AR commented 3 years ago

Thanks for the PR. I almost completed writing the code before I got interrupted. I used request without any CSRF token, it was still working. I checked if your code works without sending CSRF tokens, it is working. If that's the case we can totally remove selenium right? 🤔 Or am I missing something?

@Abhijeet-AR you're correct. I was trying APIs in Postman earlier in the day and I remember I got a csrf error at some point. Looking at history, I got that message when my graphql was incorrect (although weird).

Removed that part and it makes code simple.

Thanks for catching that.

Thanks. It's working great 😄. This should fix #12 .