RESTService response
I want my service method to response a string. For example: I want the service method to insert a item on the table, if it got inserted the se开发者_如何学Gorvice method should response a string "True" otherweise "False". How should the method look like?
Take a look at this example. It shows how to return an image from the service, but since it returns binary data, you can also return your text in this way. Hope this helps.
精彩评论