Hello,
A friend of mine is working on the API server and i am doing the app.
On a fetch call I can’t read informations in the json object I only got : “Fuse.Scripting.V8.Object” in the responseObject. What is it ?
Also I have made a button to try out the same code again but not working. The fetch call only appear when I start the simulation.
Any idea ?
Context file :
fetch('http://localhost:5000/register', {
method: 'post',
headers: { "Content-type": "application/json"},
body: JSON.stringify({
username: 'user3',
password: '45',
email: 'al@gl.com',
}) ... and then / then / error.
And the js file from where calling this function :
function Register(arg) {
BackEnd.fetchFunction();
}
If you have any exemple about how it should be arrange to have a good architecture I ll be glad.
Sorry about double post