3 ms·
Some platforms have really terrible HTTP apis. Your choices usually end up as: a) don't support that platform and lose out on that audience b) embed your own
by toast0 7y ago
Some platforms have really terrible HTTP apis. Your choices usually end up as:
a) don't support that platform and lose out on that audience
b) embed your own HTTP library with your client
c) do everything with POST and always return HTTP 200, because every http library supports that.
Or I guess
d) use C, but with headers to pretend that you're seeing an action other than POST.
- Jare 7y agoUnity's built in web requests were like that a few years ago, they only supported GET (with no payload) or POST, so I and many other game platform developers had to implement (d). Most famously, Parse did it too.