Commit 8a0e95de authored by 박민석's avatar 박민석

chatbot api test

parent 3df61084
Pipeline #20878 failed with stages
in 2 minutes
...@@ -174,12 +174,21 @@ ...@@ -174,12 +174,21 @@
docsType: docType.toLowerCase(), docsType: docType.toLowerCase(),
} }
fetch('https://182.162.100.161:13002/ask', { // fetch('https://182.162.100.161:13002/ask', {
method: 'POST', // method: 'POST',
headers: { // headers: {
'Content-Type': 'application/json', // 'Content-Type': 'application/json',
}, // },
body: JSON.stringify(payload), // body: JSON.stringify(payload),
// })
// .then((response) => {
// console.log(response) // response 확인 테스트
// })
// .catch((error) => {
// console.error('Chatbot Error', error)
// })
fetch('http://httpbin.org/get', {
method: 'GET',
}) })
.then((response) => { .then((response) => {
console.log(response) // response 확인 테스트 console.log(response) // response 확인 테스트
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment