TAG · 1 ARTICLE

#openai-api

  1. JAVACall an LLM API from plain Java with HttpClient and JSONNo framework, no SDK. Just java.net.http.HttpClient, a few records and Jackson. One small client that talks to a local model or a cloud API by changing three settings, with error handling, retries and streaming.17 Nov 2026 · 8 min