http request data
Hi, I am testing the HTTP Request Block.
When I used test variables for a GET api from Botpress, I got this output:
===========
{
"statusCode": 200,
"data": {
"messages": [
{
"id": "7c4dc99f-e38a-4903-b8d0-0bb168dfdc31",
"createdAt": "2025-08-28T06:44:32.087Z",
"conversationId": "conv_01K3QPQ11QAQ09E1WY2GXE9D8Q",
"userId": "user_01K3AS4J4NCCBS6GAPM36WEEQA",
"payload": {
"type": "choice",
"text": "Hello!
Welcome to XXX customer support. \n \nHow can I assist you today? \nYou can ask about our curtains, blinds, installation process, pricing, warranty, or any other service we offer.",
"options": [
{
"label": "Browse curtain options",
"value": "Browse curtain options"
},
{
"label": "Ask about installation",
"value": "Ask about installation"
},
{
"label": "Get a price estimate",
"value": "Get a price estimate"
},
{
"label": "Warranty & after-sales support",
"value": "Warranty & after-sales support"
}
]
}
},
{
"id": "0ac95884-238e-47ad-9a26-12ee695de617",
"createdAt": "2025-08-28T06:44:20.995Z",
"conversationId": "conv_01K3QPQ11QAQ09E1WY2GXE9D8Q",
"userId": "user_01K3QPQ0P45XF86NCE4AQTEZ1V",
"payload": {
"type": "text",
"text": "hi"
}
}
],
"meta": {}
}
}
===========
When I used test variables for a GET api from Botpress, I got this output:
===========
{
"statusCode": 200,
"data": {
"messages": [
{
"id": "7c4dc99f-e38a-4903-b8d0-0bb168dfdc31",
"createdAt": "2025-08-28T06:44:32.087Z",
"conversationId": "conv_01K3QPQ11QAQ09E1WY2GXE9D8Q",
"userId": "user_01K3AS4J4NCCBS6GAPM36WEEQA",
"payload": {
"type": "choice",
"text": "Hello!
"options": [
{
"label": "Browse curtain options",
"value": "Browse curtain options"
},
{
"label": "Ask about installation",
"value": "Ask about installation"
},
{
"label": "Get a price estimate",
"value": "Get a price estimate"
},
{
"label": "Warranty & after-sales support",
"value": "Warranty & after-sales support"
}
]
}
},
{
"id": "0ac95884-238e-47ad-9a26-12ee695de617",
"createdAt": "2025-08-28T06:44:20.995Z",
"conversationId": "conv_01K3QPQ11QAQ09E1WY2GXE9D8Q",
"userId": "user_01K3QPQ0P45XF86NCE4AQTEZ1V",
"payload": {
"type": "text",
"text": "hi"
}
}
],
"meta": {}
}
}
===========
