Closed harae37 closed 4 years ago
what json file
oh sorry maybe I said wrong the one you are working on, the visualization data that goes into the popup window.
In popup.js
saveButton.addEventListener('click', () => { const data = new FormData() data.append('image', The one you are working on) fetch('http://localhost:8000/api/image-upload', { method: 'POST', body: data }) })
I'm working on it right now :)
Okay! Thanks for letting me know. I'll working on it after you upload the code.
Hi @Steve-luo , when will you pull request JSON file?