Create Topic in Foswiki server based on JSON input from external system

55 Views Asked by At

I want to create a topic on foswiki instance running on web server on local machine based on data coming from external system. The new topic data will be sent via POST request from external system (client) to this local machine's (server URL) port XXXX. When the data arrives at the port XXXX some how a new topic or update topic (if exist) event should be triggered on foswiki local instance. How can I achieve this? (any programming language)

The client and server machines are on LAN.

1

There are 1 best solutions below

1
On

Have a look at WebDAVContrib. It has got a json view for topics. So you might simply upload a MyNewTopic.json to a webdav drive and the topic will be created accordingly.