Created
August 6, 2016 05:04
-
-
Save tocttou/ceae739c32855a657546aa8420c4bbb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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