Case #192014: OpenClient REST API Error "CSRF protection is enabled"


Description:


Hello

 

I try to use the rest api to create a discussion:

<form action="https://intranet.trivadis.com/trialogdev/api/core/v2/spaces/2009/discussions" method="post">
 Subject: <input name="subject" type="text" size="60" value="New AMS BDS Project Info">
 <input type="hidden" name="html" value="Content">
 <input type="hidden" name="question" value="false">
 <p />
 <input type="submit" value=" Create ">
</form>

 

If I submit the form I receive an error:

{
  "message" : "CSRF protection is enabled client failed to provide proper credentials.",
  "code" : 403001
}

 

What's that means?

I'm connected to the jive instance.

 

Is it possible to use the api in a html form?

Do you have an example?

Latest Comment: Nov 6, 2012 7:27 AM by pradeepmandalik

Comments

More Like This