Back to All

Calling .NET REST service from Json API interaction

Hi! I have a REST service implemented in .NET and published with IIS with WebAPI 2.0

I call the service from a Json API interaction using the URL and I receive the request from the bot in the service and send a response, but the bot doesn't show or doesn't receive that response.

The json my service sends to the bot is:

{
"user_id":"888",
"bot_id":"1010",
"module_id":"30",
"message":"42152400 - Materiales dentales\n42152600 - Suministros específicos a la operación dental\n42152700 - Equipo y suministros ortodoncia y prostodónticos\n85122000 - Servicios dentales\n27112300 - Herramientas de marcar\n30101500 - Ángulos\n55121600 - Etiquetas\n31163100 - Conectores\n42151600 - Instrumentos y dispositivos dentales y de subespecialidad\n",
"blocked_input":false
}