this is ip http://178.128.203.72/
i have index.html
thanks
how can ii do this?
i have index.html
Output:<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>whatl0ol</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<div class="login">
<div class="heading">
<h2></h2>
<form action=""{{ url_for('main') }}" method="post"">
<div class="input-group input-group-lg">
<span class="input-group-addon"><i class="fa fa-user"></i></span>
<input type="text" class="form-control" placeholder="">
</div>
<button type="submit" id="send" name="send" class="float">check</button>
</form>
</div>
</div>
</body>
</html>
and server.pyimport requests from flask import Flask, jsonify,render_template,request app = Flask(__name__) @app.route("/", methods=['GET', 'POST']) def main(): return render_template('index.html') if __name__ == ("__main__"): app.run(debug = True, host = "0.0.0.0", port =80)I want to input which entered in index.html take with server.py and send to api then return result
thanks
how can ii do this?