Answer the question
In order to leave comments, you need to log in
How to send GET request with json and read data on Flask server?
Hello!
There is a link on the site
when you click on it
$.ajax({
url:'/article',
method:'GET',
dataType:'json',
data:{'article':13},
success: function(response){
console.log("Success")
},
error: function(e) {
console.log("Erroe")
}
})
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