I am using json server and axios
result from header
link: "<http://localhost:3001/posts?_page=1>; rel="first", <http://localhost:3001/posts?_page=2>; rel="next", <http://localhost:3001/posts?_page=5>; rel="last""
How can I use/access these data from link? There seems to be no information about how to parse or access this aside from github. I tried link.rels[:last]
like from github but it doesnt work.