This content has been marked as final. Show 3 replies
If I follow your question, you are asking how to retrieve images with RESTful Web Services. It looks like your code assumes that RESTful Web Services have access to an underlying directory in the Cloud. This is not correct - Database Cloud users have no access to a file system. Instead, you would store your images in the database and use the Media Resource source type to return a .jpg without any translation or marshalling by the RESTful handler.
Hope this helps.
- Rick Greenwald