Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » how to post comments through post requests
- mbrick2
- Scratcher
1000+ posts
how to post comments through post requests
How?
THIS IS NOT FOR SPAMBOTS THIS IS FOR A MESSAGING B r owse r ex teenshon
THIS IS NOT FOR SPAMBOTS THIS IS FOR A MESSAGING B r owse r ex teenshon
My Forums
ATs
Collabaration
My collabs
AIPoint
AspectOS
CoreOS
OddyseyOS
Cops and Robbers
#BringBackManagerRights
#ReturnRightsToManagers
#WeAreForManagerRights
#LetsRemindAboutMangers
#WeAreMangers
#MangersMustManage
The road to 1000 posts!
0 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ 1000
80% complete
Banner Made By @Abcde26
Card Made By @Polygon
Card Made By @Polygon
- ScolderCreations
- Scratcher
1000+ posts
how to post comments through post requests
If you want to find out, open a browser, turn on dev tools, go to the network tab, start recording, refresh the page, and then send a comment. The logs will show the endpoint it used.
Last edited by ScolderCreations (Jan. 21, 2022 00:34:34)
- mbrick2
- Scratcher
1000+ posts
how to post comments through post requests
(#2)ok. thanks
If you want to find out, open a browser, turn on dev tools, go to the network tab, start recording, refresh the page, and then send a comment.
My Forums
ATs
Collabaration
My collabs
AIPoint
AspectOS
CoreOS
OddyseyOS
Cops and Robbers
#BringBackManagerRights
#ReturnRightsToManagers
#WeAreForManagerRights
#LetsRemindAboutMangers
#WeAreMangers
#MangersMustManage
The road to 1000 posts!
0 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ 1000
80% complete
Banner Made By @Abcde26
Card Made By @Polygon
Card Made By @Polygon
- ajsya
- Scratcher
1000+ posts
how to post comments through post requests
If you want to find out, open a browser, turn on dev tools, go to the network tab, start recording, refresh the page, and then send a comment. The logs will show the endpoint it used.So that's how you guys find these endpoints. I knew It had to do something with inspect element or something like that.
- dhuls
- Scratcher
1000+ posts
how to post comments through post requests
(#5)it's just as easy in edge as it is in firefox.note: you can do it easier in firefox If you want to find out, open a browser, turn on dev tools, go to the network tab, start recording, refresh the page, and then send a comment. The logs will show the endpoint it used.
- Sid72020123
- Scratcher
500+ posts
how to post comments through post requests
To post comments, you need the authentication of your Scratch Account. First you need to post a request to login endpoint and take all the necessary header-values like csrf-token, etc. Then you need to use the post comment endpoint and pass the required headers and comment data! Make sure you don't spam the API. How?
THIS IS NOT FOR SPAMBOTS THIS IS FOR A MESSAGING B r owse r ex teenshon
Sid72020123
- mbrick2
- Scratcher
1000+ posts
how to post comments through post requests
(#5)I use firefoxnote: you can do it easier in firefox If you want to find out, open a browser, turn on dev tools, go to the network tab, start recording, refresh the page, and then send a comment. The logs will show the endpoint it used.
My Forums
ATs
Collabaration
My collabs
AIPoint
AspectOS
CoreOS
OddyseyOS
Cops and Robbers
#BringBackManagerRights
#ReturnRightsToManagers
#WeAreForManagerRights
#LetsRemindAboutMangers
#WeAreMangers
#MangersMustManage
The road to 1000 posts!
0 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ 1000
80% complete
Banner Made By @Abcde26
Card Made By @Polygon
Card Made By @Polygon
- dhuls
- Scratcher
1000+ posts
how to post comments through post requests
https://github.com/CubeyTheCube/scratchclient/blob/841cfafa04d4fa4d2225fdc2461f687a96308058/scratchclient/User.py#L214Thats for Python. The “browser extension” part in the OP implies JavaScript
- Discussion Forums
- » Advanced Topics
- » how to post comments through post requests