Feb. 5, 2024, 9:42 a.m. | Hồng Phát

DEV Community dev.to

Integrating HTTP APIs often involves tedious double-checking:



  • Was the endpoint GET /sheep or GET /sheeps?

  • Should the parameters be put in the URL query string, request body, or even headers?

  • Is the API server expecting to receive parameters in the Content-Type application/json or x-www-form-url-encoded?


By generating HTTP API clients from existing API endpoints using the approaches below, you can leave the double-checking to TypeScript and your IDEs.



From this point forward, I'll use the abbreviation "GHAC" to refer to Generative …

api apis application endpoints form generative graphql http json parameters query server string type typescript url webdev

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Global Data Architect, AVP - State Street Global Advisors

@ State Street | Boston, Massachusetts

Data Engineer

@ NTT DATA | Pune, MH, IN