Skip to content

Instantly share code, notes, and snippets.

@ahmadrosid
Created January 15, 2024 08:50
Show Gist options
  • Save ahmadrosid/46592cf4ac6f9f39ceb2e957a39a7734 to your computer and use it in GitHub Desktop.
Save ahmadrosid/46592cf4ac6f9f39ceb2e957a39a7734 to your computer and use it in GitHub Desktop.
curl 'https://api.rumbia.id/cpm/customersvc/api/v1/investor/step-profile/personal-data' \
-X 'PUT' \
-H 'authority: api.rumbia.id' \
-H 'accept: application/json, text/plain, /' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vY3BtLWFjY291bnQtc2VydmljZS5ydW1iaWEuaWQvYXBpL3YxL2xvZ2luIiwiaWF0IjoxNzA1MzA4MjMzLCJleHAiOjE3MDUzMTE4MzMsIm5iZiI6MTcwNTMwODIzMywianRpIjoiZlpMdWppcWVpYTZic0E1MyIsInN1YiI6IjE4OSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjciLCJuYW1lIjoiQmFybiBEZXciLCJpZCI6MTg5LCJlbWFpbCI6ImJhcm5kZXczQG1haWwuY29tIiwicm9sZV9pZCI6MywiaW52ZXN0b3JfaWQiOjE4OSwicm9sZXMiOlsiY3BtX2N1c3RvbWVyIl0sInBlcm1pc3Npb24iOltdfQ.1tJrQvgRTCPI8-aRUCiPJKOelLpVvgkjjEMIKgjgXV0' \
-H 'content-type: application/json' \
-H 'origin: https://phb.rumbia.id' \
-H 'referer: https://phb.rumbia.id/' \
-H 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Microsoft Edge";v="120"' \
-H 'sec-ch-ua-mobile: ?1' \
-H 'sec-ch-ua-platform: "Android"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-site' \
-H 'user-agent: Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36 Edg/120.0.0.0' \
-H 'x-api-key: MyIFn5PLJuV2QL6fJYyj9Ie4WMFowPk6SkTp5E3a' \
--data-raw '{"doctype_id":"1","identity_no":"6666612312880","salutation_id":8,"fullname":"Barn Dew","date_of_birth":"2000-01-08","account_type_id":1,"gender_id":1,"nationality_id":1,"race_id":4,"bumiputera_status":false,"marital_id":2,"education_id":4,"tax_status_id":2}' \
--compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment