What I learned today
(1) How to request an API I choose
(2)The post method also can get the data back(wow I never know that)
fetch(`https://vision.googleapis.com/v1/images:annotate?key=${key}`, { method:'POST', headers: { 'Accept': 'application/json', 'Content-type':'application/json' }, body:JSON.stringify(data) }) .then((res)=> res.json()) .then((data)=> { console.log(data}(3)If I want to activate a function, I need to target the id of form, but not the submit button, this is very basic, I don't know why I didn't get it, maybe the reason was I skip the previous checkpoint
(4)Not all the API is easy to connect.
(5)If I want to connect an API, to read the document is very important
My plan for tomorrow :
(1)Keep working on a project
(2)Turn the picture into grey
(3)CSS part
(4)Build the dictionary project and save the vocabulary in the localstorage
(5)To learn how to connect API
(6)node is base on C++, and V8 also written in C++
(7)Maybe the grammar checker is also a great idea
The question for tomorrow
(1)How to update my Google may parameter
(2)How do use canvas
(3) Ask C and T how do they connect their API
I wrote an article for encouraging Taiwanese to go to the church for learning English, a lot of people think it's a great idea, but a few people disagree, I still need to reflect on myself, although I am confident for my opinion, I always being irritated if some netizens use some negative words to comment. The thing is, why did I want everyone to agree with me? I really need to fix this kind of bad temper, I want to control another person too much.
No comments:
Post a Comment