Jump to content

Tags or Prefix not work with REST API


Recommended Posts

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:

		\IPS\Http\Url::external( $url . "api/forums/topics" )->request()->login( $key, "" )->post(
				'forum'	=> 5,
				'author'	=> 1,
				'title'		=> 'Test titolo discussione',
				'post'		=> '<p>Proviamo se funziona</p>',
				'tags' => 'test'

If I remove "'tags' => 'test'" it works...

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...