Hey there, so I'm diving into the world of APIs for the first time and I stumbled across some interesting information on the GitHub API:
It seems that READMEs can be accessed in custom media types to retrieve raw content or rendered HTML.
Check it out here:
If my understanding is correct, this means we can get an HTML-formatted version of the README contents. How would one go about retrieving this using AJAX instead of curl, which most tutorials seem to focus on? My goal is to display part of it on my website, and having it in HTML format would make things a lot simpler compared to markdown.
The documentation mentions using: application/vnd.github.VERSION.html
I'm a bit lost on how to actually implement this. Any guidance would be appreciated!
Thanks in advance!