example_text = "I is a techer"
endpoint = "https://api.bing.microsoft.com/v7.0/SpellCheck"
data = {'text': example_text}
params = {
'mode':'proof',
'text': example_text,
'mkt': 'en-US',
}
headers = {
'Ocp-Apim-Subscription-Key': '<my key>',
'BingAPIs-Market':'en-US',
'Pragma': 'no-cache'
}
response = requests.post(endpoint, headers=headers, params=params)
The result returned shows no errors. is should be am , techer should be teacher