Askancy Posted April 4, 2016 Share Posted April 4, 2016 Hello I was trying to implement the REST API forums/topics POST on my site, I just have a problem... If I try to post a new topic WITHOUT the tag or prefix works, but with the prefix or tag no, why? and it returns me the error: " array(2) { ["errorCode"]=> string(6) "EX1048" ["errorMessage"]=> string(13) "UNKNOWN_ERROR" } " This is the code I am using: var_dump( \IPS\Http\Url::external( $url . "api/forums/topics" )->request()->login( $key, "" )->post( array( 'forum' => 5, 'author' => 1, 'title' => 'Test titolo discussione', 'post' => '<p>Proviamo se funziona</p>', 'tags' => 'test' ) )->decodeJson() ); If I remove "'tags' => 'test'" it works... Link to comment Share on other sites More sharing options...
Askancy Posted April 5, 2016 Author Share Posted April 5, 2016 Nobody ever used the Rest API of IPB? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.