MutualFundBroker-API
  1. mutual_fund_broker
MutualFundBroker-API
  • mutual_fund_broker
    • User Registration
      POST
    • User Login
      POST
    • Add Investment
      POST
    • Fetch Portfolio
      GET
    • Fetch Funds by Fund Family
      GET
  1. mutual_fund_broker

User Registration

POST
/users/register
This endpoint allows a new user to register by providing their email and password. Once the registration is successful, the system stores the user information in the database and prepares the account for further interactions like login. A successful registration response will confirm the creation of the user account.

Request

Header Params

Body Params text/plain
Example
Example:{ "email":"user@example.com", "password":"strongpassword" }

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8000/users/register' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"user@example.com",
    "password":"strongpassword"
}'

Responses

🟢200Success
application/json
Body

Example
{}
🟠422Parameter Error
Modified at 2024-12-22 14:12:23
Next
User Login
Built with