Skip to content

Instantly share code, notes, and snippets.

@tocttou
Created August 6, 2016 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tocttou/ceae739c32855a657546aa8420c4bbb7 to your computer and use it in GitHub Desktop.
Save tocttou/ceae739c32855a657546aa8420c4bbb7 to your computer and use it in GitHub Desktop.
import cvfy
app = cvfy.register('nongh:0.0.0.0:1814173:5001:9001:0.0.0.0')
@cvfy.crossdomain
@app.listen()
def concat():
## receiving the data
## lets say the webapp has 2 entries in Text Input Component with inputs given by user: 'ABC' and 'XYZ'
alltext = cvfy.getTextArray()
for text in alltext:
print text ## ABC
## XYZ
return 'OK'
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment