본문 바로가기
Node.js

Axios

by 이도현 2021. 8. 30.

Get 파라미터 넘기기

 

axios.get('/test', {

    params:

        {

        test : 1234567

        }

    }) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); });