Unfortunately we are not looking for the web browser procedure. we would like to send the equivalent calls as rest calls and get the response in the body. Do you have any documentation related to rest calls for the procedure mentioned here https://shopify.dev/tutorials/authenticate-with-oauth. we would like to do get the "CODE" along with "HMAC" in the response body for the call /admin/oauth/authorize.
If you have any documentation or any suggested solution kindly provide it to us.