Skip to content

Commit 0779c21

Browse files
committed
.
1 parent 97409c1 commit 0779c21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.devcontainer/api/apiRequest.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
xhr.onreadtstatechange = function(){
1717
console.log(xhr.readyState);
1818
if(xhr.readyState === 4){
19-
console.log(this.responseText);
19+
const data = JSON.parse(this.responseText);
20+
console.log(typeof data);
21+
console.log(data.followers);
2022
}
2123
}
2224
xhr.send();

0 commit comments

Comments
 (0)