Actions
Defect #12578
closedREST API - Memberships
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
when I use code:
$role=array();
$role[]=3;$role[]=4;
$projects = new Project;
$project = $projects->find(1);
$project->post('memberships', array('user_id' => '9', 'role_ids' => $role));
I get Internal error 500?
I only get this error with this action.
May I be helped ?
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Sorry, no support request in the issue tracker. I have no idea of what your code is doing so if there's an issue with the API, please provide the application log so we can see the request that is actually done.
Actions