act
WWasp
•Created by act on 1/26/2025 in #đŸ™‹questions
Accessing request.body from api
@kapa.ai
I am doing something like this in the front end:
const response = await fetch(
${API_BASE_URL}/api/assistants/threads/${threadId}/messages
, {
method: 'POST',
body: JSON.stringify({
content: text,
}),
});
But I am not getting anything in req.body. Is this corect ?10 replies