This project demonstrates both asynchronous and synchronous HTTP requests in various languages (except for JavaScript, since Node.js doesn't support synchronous HTTP requests due to lack of XMLHttpRequest support).
Use the provided Makefile to run the examples.