3 ms·
Thank you! This is BIG! And this API endpoint is very interesting: curl -X POST "https://service.stumblingon.com/getSubmissions" -H "accept: application/js
by sm4rk0 6y ago
Thank you! This is BIG!
And this API endpoint is very interesting:
curl -X POST "https://service.stumblingon.com/getSubmissions" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"status\":0}"
More on API here:
https://service.stumblingon.com/docs https://service.stumblingon.com/docs
- ALittleLight 6y agoThank you. I was wondering if people would find the API and do anything with it. You can use the same endpoint to check approved submissions (status: 1) and rejected submissions (status: 2) although currently there aren't very many rejected as I recently switched databases and didn't bother to transfer over rejected submissions.
- dpedu 6y agoJust curious - what format are the user IDs? I thought they may have been IP addresses simply converted to an int, but if that's the case it's been done in a way I can't reverse.
- ALittleLight 6y agoThe user IDs don't really encode any information. They are just there to associate a history with a user. When a user visits the page there's a check to see if they have a user id in local storage, if not then it gets the current time and hashes it to produce a new userId which is stored in local storage for future use.