# Connect fuse app to homemade API 

**URL:** <https://forums.fusetools.com/t/connect-fuse-app-to-homemade-api/6650>\
**Category:** How-to Discussions\
**Created:** [January 31, 2017, 11:32am UTC](https://forums.fusetools.com/t/connect-fuse-app-to-homemade-api/6650 "2017-01-31T11:32:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabson](https://avatars.discourse-cdn.com/v4/letter/g/a6a055/32.png) [@Gabson](https://forums.fusetools.com/u/Gabson)\
**Post date:** [January 31, 2017, 11:32am UTC](https://forums.fusetools.com/t/connect-fuse-app-to-homemade-api/6650/1 "2017-01-31T11:32:42Z")

</div>

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 :

```auto
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 :

```auto
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

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [January 31, 2017, 11:40am UTC](https://forums.fusetools.com/t/connect-fuse-app-to-homemade-api/6650/2 "2017-01-31T11:40:53Z")

</div>

Hi!  
The bit about `Fuse.Scripting.V8.Object` probably means that you’re logging the object rather than the correct field inside of it. However, it’s not possible to see what the problem is based on the small snippets of code you’re posting. Please provide both the bit that fetches the data and the part that tries to display it.

Also: please don’t post multiple threads with the same subject. It’s much easier to provide help if the subject is more relevant to the contents. 🙂
