Hi,
Just wanted to share a small project I created for myself and maybe help others.
The project:
I connected an IR receiver module to my NodeMCU and using a cheap generic IR remote I have I'm able to decode the messages and send an HTTP POST request to my home server that allows me in this case to control a smart light bulb I own.
For example pressing the power button on my remote would case the chip to send a message to the server with the 'power' action that make the bulb turn off.
This project can be used as a starting point for your own IR->HTTP project.