Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch APIs
- MegaApuTurkUltra
- Scratcher
1000+ posts
Scratch APIs
Cool list! I think you should include the required post data in the follow request though
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- theonlygusti
- Scratcher
1000+ posts
Scratch APIs
ditto Cool list! I think you should include the required post data in the follow request though
- Firedrake969
- Scratcher
1000+ posts
Scratch APIs
It was a GET, so there wasn't any data I could find from Chrome's console.
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- theonlygusti
- Scratcher
1000+ posts
Scratch APIs
Fiddler? It was a GET, so there wasn't any data I could find from Chrome's console.
- Firedrake969
- Scratcher
1000+ posts
Scratch APIs
Probably wouldn't give anything different, and I'm not going to download it just for this.
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- __init__
- Scratcher
1000+ posts
Scratch APIs
Firefox? It was a GET, so there wasn't any data I could find from Chrome's console.
thisandagain pls explain
- Firedrake969
- Scratcher
1000+ posts
Scratch APIs
I'm fairly sure it would show the same thing (and besides, I don't have Firefox)
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- theonlygusti
- Scratcher
1000+ posts
Scratch APIs
You're seriously lacking in resources: how can you not have fiddler or firefox? I'm fairly sure it would show the same thing (and besides, I don't have Firefox)
- firedrake969_test
- Scratcher
500+ posts
Scratch APIs
I see no need to have them, as Chrome has everything I currently need. If I need Fiddler, I'll get it, but Chrome can capture HTTP requests as well as I need to capture them.
Alt account of Firedrake969.
Rocket II: A black and white bitmap space game!
I seek not fame, but education.
;
- __init__
- Scratcher
1000+ posts
Scratch APIs
You can't edit them though. I see no need to have them, as Chrome has everything I currently need. If I need Fiddler, I'll get it, but Chrome can capture HTTP requests as well as I need to capture them.
thisandagain pls explain
- firedrake969_test
- Scratcher
500+ posts
Scratch APIs
has everything I currently need. If I need Fiddler, I'll get it, but Chrome can capture HTTP requests as well as I need to capture them.You can't edit them though. I see no need to have them, as Chrome
Alt account of Firedrake969.
Rocket II: A black and white bitmap space game!
I seek not fame, but education.
;
- __init__
- Scratcher
1000+ posts
Scratch APIs
What's the use of viewing the HTTP requests if you can't edit them?has everything I currently need. If I need Fiddler, I'll get it, but Chrome can capture HTTP requests as well as I need to capture them.You can't edit them though. I see no need to have them, as Chrome
thisandagain pls explain
- firedrake969_test
- Scratcher
500+ posts
Scratch APIs
I can do what I need to with them. Anyways…
/offtopic
Anyone got any suggestions/improvements/additions?
/offtopic
Anyone got any suggestions/improvements/additions?
Last edited by firedrake969_test (March 9, 2015 22:44:23)
Alt account of Firedrake969.
Rocket II: A black and white bitmap space game!
I seek not fame, but education.
;
- PullJosh
- Scratcher
1000+ posts
Scratch APIs
Suggestions? Well… I can do what I need to with them. Anyways…
/offtopic
Anyone got any suggestions/improvements/additions?
Cool list! I think you should include the required post data in the follow request though
But, in all seriousness, that should probably be added. I'll see if I can figure it out for you.
- PullJosh
- Scratcher
1000+ posts
Scratch APIs
To follow (or unfollow) someone:
PUT http://scratch.mit.edu/site-api/users/followers/[user to follow]/[add/remove]]/?usernames=[Your username] HTTP/1.1
Host: scratch.mit.edu
Connection: keep-alive
Content-Length: 153
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://scratch.mit.edu
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.3 Safari/537.36
Content-Type: application/json
Referer: http://scratch.mit.edu/users/firedrake969_test/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
{"id":"[user to follow]"}
Last edited by PullJosh (March 10, 2015 20:32:39)
- technoboy10
- Scratcher
1000+ posts
Scratch APIs
I believe that's a PUT request as well, but I don't remember. Is there an api to add stuff to your backpack?
Interesting…
http://scratch.mit.edu/projects/[project id]/cloud-data.js
Last edited by technoboy10 (March 9, 2015 23:56:40)
trans rights are human rights
- MegaApuTurkUltra
- Scratcher
1000+ posts
Scratch APIs
Yeah, it is. Apparently cloud data requests need a token, which so far, I've only gotten out of the project page (it's hardcoded there, but changes every reload I think), but apparently there's something else I'm missing because my cloud change attempts aren't working.I believe that's a PUT request as well, but I don't remember. Is there an api to add stuff to your backpack?
Interesting…http://scratch.mit.edu/projects/[project id]/cloud-data.js
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- MathWizz
- Scratcher
100+ posts
Scratch APIs
Please don't post your session ID unless you want someone else to use scratch for you.
http://i.imgur.com/7miPp2v.png
http://i.imgur.com/7miPp2v.png
running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizz — JsScratch && sb.js & Amber (coming soon! maybe)
- MegaApuTurkUltra
- Scratcher
1000+ posts
Scratch APIs
You probably shouldn't post your csrf token either, just to be safe. Please don't post your session ID unless you want someone else to use scratch for you.
http://i.imgur.com/7miPp2v.png
]In case anyone's interested, I have guides for posting and retrieving comments
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Discussion Forums
- » Advanced Topics
- » Scratch APIs