Skip to content

Instantly share code, notes, and snippets.

@danielkwok21
Created January 23, 2022 09:34
Show Gist options
  • Save danielkwok21/5a9565dbdeceda4bfff41c58ec7145eb to your computer and use it in GitHub Desktop.
Save danielkwok21/5a9565dbdeceda4bfff41c58ec7145eb to your computer and use it in GitHub Desktop.
Sample /forgotPassword
curl "https://uat4.myeg.com.my/ETUKARMILIK/etukar/forgotPassword/nurzatulaqilah^@gmail.com" ^
-H "Connection: keep-alive" ^
-H "sec-ch-ua: ^\^" Not;A Brand^\^";v=^\^"99^\^", ^\^"Google Chrome^\^";v=^\^"97^\^", ^\^"Chromium^\^";v=^\^"97^\^"" ^
-H "Accept: application/json" ^
-H "Content-Type: application/json" ^
-H "sec-ch-ua-mobile: ?0" ^
-H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" ^
-H "sec-ch-ua-platform: ^\^"Windows^\^"" ^
-H "Origin: http://localhost:3000" ^
-H "Sec-Fetch-Site: cross-site" ^
-H "Sec-Fetch-Mode: cors" ^
-H "Sec-Fetch-Dest: empty" ^
-H "Referer: http://localhost:3000/" ^
-H "Accept-Language: en-US,en;q=0.9" ^
--data-raw "^{^\^"username^\^":^\^"nurzatulaqilah^@gmail.com^\^"^}" ^
--compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment