Answer the question
In order to leave comments, you need to log in
Want to route in python with spring flavor?
Hello.
I'm still looking for that very silver bullet)) I know that it does not exist, but this is not a reason not to look)
I'm not a web developer, web is more of a hobby + personal small projects. After a long search, I temporarily settled on python flask.
I like python ─ it's light, elegant, it doesn't have that aftertaste that php has. (I am not an opponent of php, I am not a supporter of flat humor about it and I am sure that it will live for a very long time, but I just don’t like it)
flask is quite convenient, minimalistic, there is no Django combine, but there is one thing that I don’t like :
@app.route('/data')
def data():
user = request.args.get('user')
token = request.headers.get('token')
@app.route('/todo/api/v1.0/tasks/<int:task_id>', methods=['GET'])
@RequestMapping(value = "/data")
public String serveRest(@RequestParam("user") String user, @RequestHeader("token") String token){
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question