I'm using a Java application with Google AppEngine. I send post requests to the servlet and it needs to response with some unknown number of URL's.
I was wondering what would be the best way to implement this. Making URL object in the app and sending it as JSON or then reconverting it in the Java application or just sending the URLs as String with some delimiter ?
Is there a way to send parameters in response objects like we do with request objects or maybe set the MIME type so we can get the URLs easily in the Java application ?