Search code examples
ibm-watsonwatson-conversation

Can I create an IBM Watson Conversation client application in Javascript without using Node.js?


Can I create an IBM Watson Conversation client application in Javascript without using Node.js? The ERP software that I'm working in does not allow usage of Node.js. What would a POST request to Watson look like in plain javascript? I see that I need some user/pass credentials, the POST URL. But how do I send the Watson service data? What does the data object need to look like? All the API documentation is using Node.


Solution

  • As long as you have some way of running javascript on the server you can make a request to IBM Watson with javascript since POST requests to Watson have to be run server side using a proxy.