This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch("http://localhost:8080/api/users?limit=2&page=1", | |
{ | |
headers: { | |
'Accept': 'application/json', | |
'Content-Type': 'application/json' | |
}, | |
method: "GET" | |
}) | |
.then(function(res){ console.log(res.headers.get('Link')); return res.json(); }) | |
.then(function(json){console.log(json);}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch("http://localhost:8080/api/users?limit=2&last_id=6", | |
{ | |
headers: { | |
'Accept': 'application/json', | |
'Content-Type': 'application/json' | |
}, | |
method: "GET" | |
}) | |
.then(function(res){ console.log(res.headers.get('Link')); return res.json(); }) | |
.then(function(json){console.log(json);}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
... Endpoint data is here | |
], | |
"paging": { | |
"cursors": { | |
"after": "MTAxNTExOTQ1MjAwNzI5NDE=", | |
"before": "NDMyNzQyODI3OTQw" | |
}, | |
"previous": "https://graph.facebook.com/me/albums?limit=25&before=NDMyNzQyODI3OTQw" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Hoge { | |
fileprivate var hoge = 0 | |
} | |
struct Fuga { | |
private var fuga = 0 | |
} | |
var hoge = Hoge() | |
hoge.hoge = 2 | |
print(hoge.hoge) |
OlderNewer