on 07-28-2016 8:28 AM
I tried creating a discussion in SAP JAM via OData services exposed. I am able to post a plain text. But If I have a URL as content, I was not able to see that posted as a hyperlink. Is there any way to do that programatically????
I even went to check the network call when publish button is clicked in JAM and I saw the request body to be in different format. Please suggest me if there are any work around to achieve this or if there is anything that I am missing . Below is the code snippet of what i tried in JAM Odata APIs.
URL :
https://developer.sapjam.com/api/v1/OData/Forums('cuoh1MENQkgVcfJvQdicAy')/Discussions
Body :
{
"Name":"Test from API",
"Content":"Please refer the url http://www.google.com"
}
use this code;
{
"Name":"Test from API",
"Content":"Please refer to the URL <a href=\"http://www.sap.com\">http://www.sap.com</a></p>"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.