register success

$resource, json, post, request payload, php