There is a few problems that i met, when i try to play around with the API and see what i can do to create a dynamic website without using PHP or any other server side script.
The reason that i play around with the API is because that i was told that, the data is stored inside the network using the api which is something like redis.
I had started building app, i had try to use google postman to store and retrieve the data. However i found that i am facing one problems here.
I had try creating window’s app using node.js and electron and i am able to authenticate when the moment i launch the app. However, when i try to authenticate in an webapp, which i upload all my js file to the safe demo app and run the website in safe browser 0.4.2, http://localhost:8100 is not usable anymore and it wont authenticate.
What should be the host that i need to use when i need to use the API in the safe browser/demo app or whatever it is called.
Other than this, when i create a structured data, it returns me a handle id, does that handle id act like primary key in mysql database?
If so, when the moment i get the handle id, where do i store that handleid so that whenever next time i need it i am able to retrieve that data from that specific handle id, i try my best to read through the API tutorial but i get no clues on it
For example in mysql, it will be like select name from table where id = that id.
In a short word, how can i know this data belongs to which id.
I saw the API had this fetch data stuff, but all those required a handleId before they are able to return me anything.
Other than this, this might be out of topic, but i hope someone is able to answer me. If i create a window application the file is not inside safe network, but i am storing all the data in safe network for this window application, does this application count as a safe app?
Apologize if my question sounds stupid but i am not really good in javascript and also this is very new to me, so i hope someone can guide me through all this.
Thank You.