fix some storage API bugs, add cURL examples to README