Just a question
RobinKumar5986 opened this issue · 2 comments
curl --location 'https://leetcode.com/graphql/'
--header 'Content-Type: application/json'
--header 'Cookie: LEETCODE_SESSION=<LEETCODE_SESSION>; csrftoken='
--data '{"query":"query problemsetQuestionList($categorySlug: String, $limit: Int, $skip: Int, $filters: QuestionListFilterInput) {\n problemsetQuestionList: questionList(\n categorySlug: $categorySlug\n limit: $limit\n skip: $skip\n filters: $filters\n ) {\n total: totalNum\n questions: data {\n acRate\n difficulty\n freqBar\n frontendQuestionId: questionFrontendId\n isFavor\n paidOnly: isPaidOnly\n status\n title\n titleSlug\n topicTags {\n name\n id\n slug\n }\n hasSolution\n hasVideoSolution\n }\n }\n}","variables":{"categorySlug":"","skip":0,"limit":50,"filters":{}}}'
can you tell me how this API is working even tho I have not provided any token and leetcode session ? Is this working because I am already login in the leet code ??
check in this I have completely removed the parameter parameter but its still working its wired can you explain this behaviour ? You're right it works. However the fields that are private to you like status won't be visible.
oo ok got it thanks.