HTTP POST to https://appsready.dev/chat
userId: Unique identifier for the user (Required).message: The message to be processed (Required).userId or message.Each user has an API limit specified by APILimit, and usage is tracked by APICounter. Responses beyond the limit will return the LimitOverReasponse.
The message is processed based on user-specific data, or global data if useGlobalData is true. The default response is returned if no matches are found.
import requests
url = 'https://appsready.dev/chat'
payload = {'userId': 'example_user', 'message': 'Hello'}
response = requests.post(url, json=payload)
print(response.text)
fetch('https://appsready.dev/chat', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ userId: 'example_user', message: 'Hello' })
})
.then(response => response.json())
.then(data => console.log(data));