Skip to content

Commit

Permalink
use keyword arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mai Nguyen (from Dev Box) committed Dec 18, 2024
1 parent 818142f commit 367f84c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _get_aad_token_after_challenge(cli_ctx,
}

logger.debug(add_timestamp("Sending a HTTP Post request to {}".format(authhost)))
response = requests.post(authhost, urlencode(content), headers=headers,
response = requests.post(url=authhost, data=urlencode(content), headers=headers,
verify=not should_disable_connection_verify())

if response.status_code == 429:
Expand Down

0 comments on commit 367f84c

Please sign in to comment.