Testing INTELLI in Postman

Once INTELLI is running locally, you can easily test it using Postman.

1. Create a New Request

  • Open Postman.
  • Click New → HTTP Request.
  • Select POST as the method.
  • Enter the following URL:

http://localhost:8081/api/chat


2. Add Headers

Go to the Headers tab and add:

Authorization: Bearer your-token

Content-Type: application/json

Replace your-token with the token you see in your terminal before the npm start.


3. Add Body

Go to the Body tab → Select raw → Choose JSON.

Paste this example:

{
"model": "local-model",
"messages": [
{
"role": "user",
"content": "Hola"
} ] }


4. Send the Request

Click Send.

If everything is working, you’ll get a response like:

{
"id": "chat-123",
"object": "chat.completion",
"created": 1690000000,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "¡Hola! ¿Cómo puedo ayudarte hoy?"
}
}
]
}

Next Steps

  • Try asking different questions in the Body.
  • Use Postman Collections to save and reuse your INTELLI requests.
  • Move on to Build Your First Agent with n8n.