'GET request and JSON response

I have primitive calculator with python and flusk:

GET: http://127.0.0.1:5000/multi?x=3&y=50

RESPONSE:

{
  "first": "3", 
  "result": "150", 
  "second": "50"
}

How to use JSON requests to get data from this response? Should I use POST instead of get?

I want to make something in my javascript (Vue) frontend, like:

axios
.get('http://localhost:5000/result ...


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source