Forum Discussion
Parshant
5 years agoBoss
Where you are requesting this free-marker API to post message?
Is this you are using in Endpoint or component? then it will always give you blank response, and to print the output from the response you need add code like below to display response example like below for success from API return.
<#assign result_post = restadmin("/boards/id/${board_id}/messages/post?message.subject=${msg_subject?url}&message.body=${msg_body?url}")/>
${result_post.@status}
so for above your response will be "success".
And if you same you run with jQuery or other method like curl it will give you full result in the response of console.
Related Content
- 6 years ago
- 2 years ago
- 4 years ago
- 2 years ago