Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 493 Bytes

profileRequests.rest

File metadata and controls

21 lines (18 loc) · 493 Bytes

GET http://localhost:4500/profile/LmalcolmR Content-Type: application/json Authorization: Bearer {{$dotenv PERMANENT_ACCESS_TOKEN}}

###

POST http://localhost:4500/profile/LmalcolmR Content-Type: application/json Authorization: Bearer {{$dotenv PERMANENT_ACCESS_TOKEN}}

{

"firstName": "Malcolm", "lastName": "Gladwell", "tradingHabits": {

"risk": 0.1, "reward": 0.3, "lossPercentage": 0.3, "winPercentage": 0.7

}, "goalPortfolio": 31000

}