UCWA2.0-CS
UCWA2.0-CS copied to clipboard
How to send HTML Markdown text
Hi I am using ur project as a base for one of my implementaition can you post a code sample or a walkthrough on how to post html Markdown text to the user like this
I have set the {"SupportedModalities":["Messaging"],"supportedMessageFormats":["Plain","Html"]} in Sign in method
but still not able to send html markdown
is it because when getting Http Client in line 221(HttpService.cs) Content-type is not set to text/html or
is it because in line 226 where in
new StringContent(body.ToString(), Encoding.UTF8));
content type of body is not set to text/html
when i made some changes the application wont connect at all
I figured the problem , the body of the post has to have a content-type of :text/html
Good catch. Will you create pull request?
It is possible to use this to enable markdown on S4B?
If ucwa support it then it should.
@dipincluster how does it look like in the code?
@dipincluster appreciate if you can do Pull Request.