Skip to content

Commit

Permalink
Fix app functionality by updating api url
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrem-qb committed Jan 22, 2024
1 parent 06f5893 commit 4e43751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The Math Scanner app is a simple application that allows users to take a screens

## Important Note

The Math Scanner app uses an undocumented API hosted at 'https://www.bing.com/cameraexp/api/v1/getlatex' for mathematical expression recognition. This API is not officially documented by Microsoft. Therefore, it may be subject to change or discontinuation without notice.
The Math Scanner app uses an undocumented API hosted at 'https://mathsolver.microsoft.com/cameraexp/api/v1/getlatex' for mathematical expression recognition. This API is not officially documented by Microsoft. Therefore, it may be subject to change or discontinuation without notice.

**Use at your own risk**: The usage of undocumented APIs is generally discouraged, as it may violate the terms of service of the provider and could lead to unintended consequences.

Expand Down
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class _MyHomePageState extends State<MyHomePage> {
Future<ResponseLatex?> requestLatex(RequestImage image) async {
try {
final response = await http.post(
Uri.parse('https://www.bing.com/cameraexp/api/v1/getlatex'),
Uri.parse('https://mathsolver.microsoft.com/cameraexp/api/v1/getlatex'),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
},
Expand Down

0 comments on commit 4e43751

Please sign in to comment.