Download Jar. Libraryless. Click here for Pure Java version (3887L/26K).
!7 html { printAndProgramLog("Received call: " + uri); printAndProgramLog("params=" + struct(params)); printAndProgramLog("headers=" + struct(subBot_getHeaders())); printAndProgramLog("files=" + getUploadFiles()); //ret serveWithContentType("{}", "application/json"); Class nanoHTTPD = getClassInRealm(mainBot(), "main$NanoHTTPD"); Class status = getClassInRealm(mainBot(), "main$NanoHTTPD$Status"); O response = call(nanoHTTPD, "newFixedLengthResponse", get(status, "ACCEPTED"), null, // no content type ""); ret response; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029542 |
Snippet name: | MS Teams Demo Bot (Messaging Endpoint) |
Eternal ID of this version: | #1029542/11 |
Text MD5: | bbcfab59b5ac1e6a29c9d18c56ea34aa |
Transpilation MD5: | cdfe5df3283c7488604cbe9f3fd1bbda |
Author: | stefan |
Category: | javax / web chat bots |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-28 14:47:08 |
Source code size: | 580 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 308 / 1168 |
Version history: | 10 change(s) |
Referenced in: | [show references] |