mitzi 43 Posted January 13, 2020 (edited) ICS v8.63 Hi, Is TSimpleWebSrv able to process POST request with some data (JSON) in body? GET works as expected but POST returns (to Postman) 404 and OnSimpWebSrvReq event is not triggered. Thanks Edited January 13, 2020 by mitzi Share this post Link to post
Angus Robertson 577 Posted January 13, 2020 No TSimpleWebSrv does not currently support POST or PUT, if you look at the diagnostic log output you'll see 'Server Request Ignored'. It was designed as a light weight server for OAUTH2 and responding to well-known requests by certificate authorities. Adding complexity increases the size of any ICS REST applications that use those features. Angus Share this post Link to post
mitzi 43 Posted January 14, 2020 (edited) It's a pitty. It could be perfect for webhook implementation. Edited January 14, 2020 by mitzi Share this post Link to post
Angus Robertson 577 Posted January 14, 2020 OverbyteIcsWebAppServerUploads,pas is a handler that accepts POSTed files. Angus Share this post Link to post