2 ms·
Isn't this what the Link header is for? Why put them in the JSON? The only reason I'm aware of is for compatibility with JSONP. Github's API normally uses Link
by tlrobinson 14y ago
Isn't this what the Link header is for? Why put them in the JSON?
The only reason I'm aware of is for compatibility with JSONP. Github's API normally uses Link headers, but adds a "meta" object for JSONP requests: http://developer.github.com/v3/#json-p-callbacks http://developer.github.com/v3/#json-p-callbacks