@David Peng I tried the same curl command at my end and got the response as below:
curl -X POST -H "Ocp-Apim-Subscription-Key: df8adcXXXXXXXXX2f02df" --data @example.txt -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" https://api.bing.microsoft.com/v7.0/spellcheck
{"_type": "SpellCheck", "flaggedTokens": [{"offset": 6, "token": "walkng", "type": "UnknownToken", "suggestions": [{"suggestion": "walking", "score": 0.9009446981963628}]}, {"offset": 26, "token": "yestrdy", "type": "UnknownToken", "suggestions": [{"suggestion": "yesterday", "score": 0.8947229535970903}]}, {"offset": 68, "token": "shelf.It", "type": "UnknownToken", "suggestions": [{"suggestion": "shelf. It", "score": 0.875}]}, {"offset": 77, "token": "ws", "type": "UnknownToken", "suggestions": [{"suggestion": "was", "score": 0.6179114231872161}]}, {"offset": 80, "token": "teh", "type": "UnknownToken", "suggestions": [{"suggestion": "the", "score": 0.6179114231872161}]}, {"offset": 126, "token": "adn", "type": "UnknownToken", "suggestions": [{"suggestion": "and", "score": 0.7591053026933706}]}, {"offset": 130, "token": "notced", "type": "UnknownToken", "suggestions": [{"suggestion": "noticed", "score": 0.7591053026933706}]}, {"offset": 141, "token": "realy", "type": "UnknownToken", "suggestions": [{"suggestion": "really", "score": 0.7591053026933706}]}, {"offset": 147, "token": "shini", "type": "UnknownToken", "suggestions": [{"suggestion": "shiny", "score": 0.6833861094438812}, {"suggestion": "shine", "score": 0.5916602173050837}]}, {"offset": 165, "token": "myslef", "type": "UnknownToken", "suggestions": [{"suggestion": "myself", "score": 0.6812410117992096}]}, {"offset": 172, "token": "Tihs", "type": "UnknownToken", "suggestions": [{"suggestion": "This", "score": 0.7732867861010922}]}, {"offset": 177, "token": "appel", "type": "UnknownToken", "suggestions": [{"suggestion": "apple", "score": 0.7732867861010922}, {"suggestion": "appeal", "score": 0.7091172105773006}, {"suggestion": "app", "score": 0.5834719552597764}]}, {"offset": 207, "token": "Bough", "type": "UnknownToken", "suggestions": [{"suggestion": "Bought", "score": 0.841281805696443}]}, {"offset": 228, "token": "Hmoe", "type": "UnknownToken", "suggestions": [{"suggestion": "Home", "score": 0.7192029112505798}, {"suggestion": "More", "score": 0.6015877964151451}]}, {"offset": 233, "token": "Wehn", "type": "UnknownToken", "suggestions": [{"suggestion": "When", "score": 0.7192029112505798}]}, {"offset": 247, "token": "taset", "type": "UnknownToken", "suggestions": [{"suggestion": "taste", "score": 0.8643324300567105}, {"suggestion": "tastes", "score": 0.7270818028430042}]}, {"offset": 266, "token": "Juciy", "type": "UnknownToken", "suggestions": [{"suggestion": "Juicy", "score": 0.8174722779132053}, {"suggestion": "Juice", "score": 0.6783805485443142}]}, {"offset": 274, "token": "enjyo", "type": "UnknownToken", "suggestions": [{"suggestion": "enjoy", "score": 0.8174722779132053}]}]}
{"_type": "SpellCheck", "flaggedTokens": [{"offset": 6, "token": "walkng", "type": "UnknownToken", "suggestions": [{"suggestion": "walking", "score": 0.9009446981963628}]}, {"offset": 26, "token": "yestrdy", "type": "UnknownToken", "suggestions": [{"suggestion": "yesterday", "score": 0.8947229535970903}]}, {"offset": 68, "token": "shelf.It", "type": "UnknownToken", "suggestions": [{"suggestion": "shelf. It", "score": 0.875}]}, {"offset": 77, "token": "ws", "type": "UnknownToken", "suggestions": [{"suggestion": "was", "score": 0.6179114231872161}]}, {"offset": 80, "token": "teh", "type": "UnknownToken", "suggestions": [{"suggestion": "the", "score": 0.6179114231872161}]}, {"offset": 126, "token": "adn", "type": "UnknownToken", "suggestions": [{"suggestion": "and", "score": 0.7591053026933706}]}, {"offset": 130, "token": "notced", "type": "UnknownToken", "suggestions": [{"suggestion": "noticed", "score": 0.7591053026933706}]}, {"offset": 141, "token": "realy", "type": "UnknownToken", "suggestions": [{"suggestion": "really", "score": 0.7591053026933706}]}, {"offset": 147, "token": "shini", "type": "UnknownToken", "suggestions": [{"suggestion": "shiny", "score": 0.6833861094438812}, {"suggestion": "shine", "score": 0.5916602173050837}]}, {"offset": 165, "token": "myslef", "type": "UnknownToken", "suggestions": [{"suggestion": "myself", "score": 0.6812410117992096}]}, {"offset": 172, "token": "Tihs", "type": "UnknownToken", "suggestions": [{"suggestion": "This", "score": 0.7732867861010922}]}, {"offset": 177, "token": "appel", "type": "UnknownToken", "suggestions": [{"suggestion": "apple", "score": 0.7732867861010922}, {"suggestion": "appeal", "score": 0.7091172105773006}, {"suggestion": "app", "score": 0.5834719552597764}]}, {"offset": 207, "token": "Bough", "type": "UnknownToken", "suggestions": [{"suggestion": "Bought", "score": 0.841281805696443}]}, {"offset": 228, "token": "Hmoe", "type": "UnknownToken", "suggestions": [{"suggestion": "Home", "score": 0.7192029112505798}, {"suggestion": "More", "score": 0.6015877964151451}]}, {"offset": 233, "token": "Wehn", "type": "UnknownToken", "suggestions": [{"suggestion": "When", "score": 0.7192029112505798}]}, {"offset": 247, "token": "taset", "type": "UnknownToken", "suggestions": [{"suggestion": "taste", "score": 0.8643324300567105}, {"suggestion": "tastes", "score": 0.7270818028430042}]}, {"offset": 266, "token": "Juciy", "type": "UnknownToken", "suggestions": [{"suggestion": "Juicy", "score": 0.8174722779132053}, {"suggestion": "Juice", "score": 0.6783805485443142}]}, {"offset": 274, "token": "enjyo", "type": "UnknownToken", "suggestions": [{"suggestion": "enjoy", "score": 0.8174722779132053}]}]}
I also changed the curl command made a few more spelling mistakes and tried. That worked too:
curl -H "Ocp-Apim-Subscription-Key: df8adXXXXXXXXXXXX02df" "https://api.bing.microsoft.com/v7.0/spellcheck?mode=proof&text=I+was+walkng+to+the+store+yestrdy+and+I+seen+a+big%2C+red+apple+on+the+shelf.It+ws+teh+biggest+appels+I+everseen.+I+Picked+it+up+adn+notced+its+realy+shini.+I+think+to+myslef+Tihs+appel+is+looks+Delicious+So+I+Bough+it+and+take+it+Hmoe+Wehn+I+eat+it+taset+so+sweet+and+Juciy+I+enjyo+it+alot.+After+I+eats+the+apple%2C+I+feels+happy+and+satisfied.+I+thinks+I+will+buys+more+of+these+apples+next+time"
Could you please test again with the above curl command at your end ? Awaiting your reply.