Can you provide an example of the request. I guess it's not a fortrabbit related issue.
This is the angular service:
send: function (content)
{
return $http.post('api/v1/posts/', content);
}
This is the controller the route goes to.
public function store()
{
//
$post = new Post;
$post->user_id = Input::get('user_id');
$post->type = Input::get('type');
$post->sender = Input::get('sender');
$post->title = Input::get('title');
$post->content = Input::get('content');
//validate
$post->save();
}
Cheers
Don't know how or why but it is working now. Cheers
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community