11 Replies Latest reply on Nov 13, 2013 2:56 PM by stjohnjohnson

    Unable to POST content via API (could not be validated)

    stjohnjohnson

      Hey guys,


      I keep getting "The request could not be validated as originating from within the SBS application" when performing POST operations.  PUT operations work fine, so not sure what I'm doing wrong.  Here is the sample JSON object I'm sending:

       

      POST https://yahoo.jiveon.com/api/core/v3/content

      {

           "content": {

                "type": "text/html",

                 "text": "<body><p>Some interesting text to discuss</p></body>"

             },

             "subject": "New Discussion",

             "type": "discussion",

             "visibility": "place",

              "parent": "https://yahoo.jiveon.com/api/core/v3/places/1887"

      }

       

      The parent is a valid place, I can perform a GET against that API.

       

      Any ideas?