Thanks for the great example. There is a use case for returning data from PUT requests: For testing http clients. I’m writing some http clients using apache http client in java and needed to create some junit tests for various conditions. Having the php return something useful can tell the test if the call was successful or not.