Fixed the hardcoded status code issue.
Added HTTP POST /group/{group}/joinGroup