Subscribe User With Code
The `POST /api/user/subscribeUserWithCode`endpoint is used to subscribe a user to a course with a code.
### Request
- Method: POST
- Base URL: {{baseUrl}}
- Path: /api/user/userStats
- Headers:
- Content-Type: application/x-www-form-urlencoded
- Body:
- `idst` (text): The user ID
- `reg_code` (text): The subscription code.
### Response
- `success` (boolean): Indicates the success of the request.
- `message` (string): Provides additional information.
Request
This endpoint expects an object.
idst
Unique identifier (ID) of the user.
reg_code
registration code
Response
Successful response

