4 ms·
I need to point something out to people doing that kind of thing to other people wesites/webapps/whatever: Having done this multiple times be aware that you ca
by 01acheru 5y ago
I need to point something out to people doing that kind of thing to other people wesites/webapps/whatever:
Having done this multiple times be aware that you can break other people stuff by messing up requests. Most web APIs suck and some won't behave nicely on unexpected failures.
1. When trying to automate a process on an energy management platform I ended up creating resources under some kind of master account, some things broke and they had to manually clean the DB.
2. When trying to access an operation I couldn't do via the provided API I reverse engineered the API of their admin dashboard. It sucked really bad, with a lot of strange sync tokens that felt like going back to 20 years ago. Anyway my implementation wasn't perfect, it grinded their platform to a halt.
I could go on, so please just do stuff like that if you're in contact with the people on the other side. If you're not limit yourself to GETs.
- trinovantes 5y agoBold of you to assume GET requests do not have side effects
- sokoloff 5y agoIt’s amusing to think the same devs who cobbled together a pile of otherwise fragile excrement were somehow careful to make sure that GETs were side-effect free.