InterviewDB Question

HTTP GET Request Implementation - Coding Round

Question Details

Problem Implement an HTTP GET request handler. Given a URL string and optional query parameters, construct and send the request, then parse and return the response body as a string. Handle redirects (up to 3 hops) and surface HTTP error codes as exceptions. Example: Follow-ups How would you add retry logic with exponential backoff for 5xx responses? The API rate-limits at 100 req/min. How do you enforce that client-side across concurrent callers? How would you cache GET responses with TTL invali…

Full Details

🔒

Unlock all Hubspot questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a hubspot interview during the onsite round.

It covers the following topics: Coding, Strings, Onsite .