I'm trying to trigger keyboard LED flashing, that I already can based on this example: http://www.tldp.org/LDP/lkmpg/2.6/html/x1194.html
But somehow I need to reach an API and use the response of it. Is it possible to use curl inside a Linux kernel module? Or how should I do it otherwise?