Which method would you use to make a simple GET request to 'https://api.example.com/users' using Net::HTTP?
What is the main difference between TCP and UDP protocols?
What does the following code do?
server = TCPServer.new('localhost', 3000)
client = server.accept
Given the URL 'https://api.example.com:8080/v1/users?active=true#section1', what would URI.parse(url).port return?
Which is the correct way to open a URL with custom headers using open-uri?
What happens when you call send on a UDPSocket?
How do you properly encode query parameters containing special characters for a URL?
Which exception should you catch when handling HTTP errors with open-uri?
What is the purpose of calling bind on a socket?
Which of the following is NOT a best practice for web scraping?
Watch and learn ruby networking quiz