http://webframeworks.kr/tutorials/nextjs/nextjs-006/
Axios is a promise based HTTP cliend for the brower and node js by its github
but. what is it actually??!
Features
make XMLHttpRequests from the browser
make HTTP requrest from nodejs // maybe even though we do not set the whole new routing file
//it can do its job when applied in frontend or react zone. i donno yet
supports the promise API
intercept request and response
transform request and response data
cancel request
automatic transform for JSON data
client side support for protecting against XSRF
Axios is a promise based HTTP cliend for the brower and node js by its github
but. what is it actually??!
Features
make XMLHttpRequests from the browser
make HTTP requrest from nodejs // maybe even though we do not set the whole new routing file
//it can do its job when applied in frontend or react zone. i donno yet
supports the promise API
intercept request and response
transform request and response data
cancel request
automatic transform for JSON data
client side support for protecting against XSRF
댓글
댓글 쓰기