If this is not the correct place to ask this question - where should I
pose it?
--- In brightcove-dev@yahoogroups.com, "Joel Fiser" <jfiser42@...> wrote:
>
> OK - I wasn't using POST before - but now I am.
> Here's the func:
>
> private function delClip(myClipObj:Object){
> var loader:URLLoader;
> var url:String = "http://api.brightcove.com/services/post"
> var myRequest:URLRequest = new URLRequest(url);
>
> var myVars:URLVariables = new URLVariables();
> myVars.command = "delete_video";
> myVars.video_id = myClipObj.id;
> myVars.cascade = 1;
> myVars.token = "myValidSecretToken";
> myRequest.data = myVars;
> myRequest.method = URLRequestMethod.POST;
>
> try {
> navigateToURL(myRequest); // I also tried sendToUrl and using a
> Loader
> }
> catch (err:Error) {
> view.displayTxt("dumpTxt", err.message, null);
> }
> }
>
>
> Now I get the following error message:
>
> {"error": {"name":"MissingJSONError","message":"Could not find
> JSON-RPC.","code":211}, "result": null, "id": null}
>
>
>
> --- In brightcove-dev@yahoogroups.com, "Joel Fiser" <jfiser42@>
> wrote:
> >
> > Here's the string I'm pasting directly into the browser. Of course I
> > don't include my actual token below.
> >
> >
>
http://api.brightcove.com/services/library?command=delete_video&video_id\
> =16927323&cascade=true&token=myValidSecretToken
> >
>