The CreatorCon Call for Content is officially open! Get started here.

REST HTTP Code 400

malaisamyj
Tera Contributor

Hi All,

I am trying to integrate IBM Watson Conversation to service now chat. Basically i am trying to create Chatbot..

For that i have followed Service now Whitepaper. But i am facing problem with REST Message.

I have created a POST method to get response from IBM Watson. As per the Whitepaper document.

When i tested its giving me error as 400 and as below

find_real_file.png

And My workspace details as below

find_real_file.png

My post Method

find_real_file.png

Help would be appreciated..

Thanks,

Malai

5 REPLIES 5

malaisamyj
Tera Contributor

Hi All,



I have tried the same thing in Postman REST client.. There its working fine..



But i am not able to add this Option in Postman, because of which i am not getting proper response.



I want to add this portion to Postman. So that i will get proper response.



Please someone help me to achieve this.



find_real_file.png


in POST method i am getting Content field in service now REST API. But in postman REST API i am not sure where to specify this details.



Because of which i am getting below screen without any result.



find_real_file.png


Its going to IBM Watson workspace. But its not posting the input what i give from Postman.


I am not sure whether i am passing the correct input value from Postman to IBM watson.



The actual ask is,



If i input "radio" in Postman REST i should get response from watson as Please switch off ..



How to achieve this?



Thanks,


Malai