Skip to content

Using DBChatPro as a REST API from PHP backend (API consumption use case) #15

@Vishaltalsaniya-7

Description

@Vishaltalsaniya-7

Hello 👋

I am using DBChatPro as a backend AI service and integrating it with a PHP application.
I would like to confirm that my usage approach is correct and aligned with the project design.

My integration scenario

I am:

#Sending an HTTP POST request
#From a PHP backend service
#To DBChatPro running in Docker
#Using JSON payload
#Over a REST API endpoint

Architecture flow:
PHP Backend
|
| HTTP POST (JSON prompt)
v
DBChatPro (/api/chat)
|
| Uses OpenAI internally
v
Database (PostgreSQL)

Technical terms for this usage
REST API – DBChatPro exposed as an HTTP-based service
API Consumption – PHP consuming DBChatPro’s API
Backend-to-Backend Integration – server-side communication
HTTP Client (PHP cURL) – used to send requests

is possible ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions