Redmine #1835: Rewrote readme and minor renaming
This commit is contained in:
@@ -15,8 +15,8 @@ resource_directory = os.environ['API_RESOURCE_DIR']
|
||||
runner = Runner(resource_directory, True)
|
||||
|
||||
|
||||
@app.route(api_prefix + '/string_to_parse', methods=['GET', 'POST'])
|
||||
def string_to_parse():
|
||||
@app.route(api_prefix + '/strings_to_parse', methods=['GET', 'POST'])
|
||||
def strings_to_parse():
|
||||
|
||||
tmp_directory = tempfile.mkdtemp()
|
||||
string_file_name = tmp_directory + '/input_string.txt'
|
||||
@@ -77,8 +77,8 @@ def parse_to_dictionary():
|
||||
return Response(message, mimetype='text/xml')
|
||||
|
||||
|
||||
@app.route(api_prefix + '/string_to_dictionary', methods=['GET', 'POST'])
|
||||
def string_to_dictionary():
|
||||
@app.route(api_prefix + '/strings_to_dictionary', methods=['GET', 'POST'])
|
||||
def strings_to_dictionary():
|
||||
|
||||
tmp_directory = tempfile.mkdtemp()
|
||||
string_file_name = tmp_directory + '/input_string.txt'
|
||||
@@ -116,4 +116,3 @@ def string_to_dictionary():
|
||||
message = '<error>' + str(e) + '</error>'
|
||||
|
||||
return Response(message, mimetype='text/xml')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user