I am not getting any response back just stuck

i am using this code
payload={

'instrument_key' : 'NSE_INDEX|Nifty Bank',
'expiry_date'    : '2025-04-24'

}
headers = {
‘Authorization’ : f’Bearer {accesstoken}',
‘Accept’: ‘application/json’
}

response = requests.request(“GET”, url, headers=headers, data=payload)
response = response.json()

but dont get any response

PS C:\Users\harsi\OneDrive\Desktop\Upstox Manual Link> & “c:/Users/harsi/OneDrive/Desktop/Upstox Manual Link/.conda/python.exe” “c:/Users/harsi/OneDrive/Desktop/Upstox Manual Link/functions.py”
https://api.upstox.com/v2/login/authorization/dialog?response_type=code&client_id=*********************&redirect_uri=https://****************
Enter Code: ********
then just blank

Hi @HARSIMRAN_30253071

Could you please confirm which API you are trying to call? Also, refer to the documentation here and example codes here for guidance on how to use the API.

Thanks.