News for hackers. Stuff that matters.
Re:Dudes, this is so not REST by pzb on Tuesday March 15, 2011 @03:47PM (#2329066)
Many APIs simply specify that the encoding is constant (always UTF-8) so this is not an issue. And many HTTP libraries simply handle the content encoding transparently.

The challenge is some HTTP library APIs commonly used for developing clients offer the following interface: - GET $URL

If you are lucky, then it might also support POST and offer a second parameter for the request body. If are really lucky, there is a way to specify arbitrary methods, but this is fairly rare.

There are no comments on this comment yet.