http Post
Sends a POST request to the LLAMA-Server and returns the response body.
Return
The response body as a String.
Parameters
endpoint
The API endpoint path (e.g., /v1/chat/completions).
json Body
The JSON request body.
timeout Ms
Read timeout in milliseconds.
port
Optional port override. Defaults to the current server port.
Throws
on non-2xx responses.