Commit 1f272b30 authored by 박민석's avatar 박민석

rollback

parent 5016fa8c
Pipeline #20893 passed with stages
in 3 minutes and 46 seconds
......@@ -171,26 +171,17 @@
isLoading = true
// const payload = {
// question: message,
// docsType: docType.toLowerCase(),
// }
// fetch('https://182.162.100.161:13002/ask', {
// method: 'POST',
// headers: {
// 'Content-Type': 'application/json',
// },
// body: JSON.stringify(payload),
// })
// .then((response) => {
// console.log(response) // response 확인 테스트
// })
// .catch((error) => {
// console.error('Chatbot Error', error)
// })
fetch('https://httpbin.org/get', {
method: 'GET',
const payload = {
question: message,
docsType: docType.toLowerCase(),
}
fetch('http://182.162.100.161:13002/ask', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(payload),
})
.then((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