-
Notifications
You must be signed in to change notification settings - Fork 32
/
test_main.http
12 lines (7 loc) · 5.21 KB
/
test_main.http
1
2
3
4
5
6
7
8
9
10
11
12
# Test your FastAPI endpoints
GET http://127.0.0.1:9000/
Accept: application/json
###
POST http://127.0.0.1:9000/ocr/base64
Content-Type: application/json
{"base64_img": "iVBORw0KGgoAAAANSUhEUgAAAJYAAAAoCAIAAACTo5SwAAAACXBIWXMAAAsTAAALEwEAmpwYAAAOyUlEQVR4nO1beXhURbY/Vfd2pztLJ529kybEJIYgECEgS4TIIosMbvjmiaNPEDdgeML7UHngPJGZeTCOOiOOozDoG0UFZhwGGBBZFGKCYY8QkhAwxBA6a3eW7my93Fs1f9ymc7v75nZ3uhPf9733+6vq1Kmtf12nTp2qCxA03txwVKZ04s9mBN/F/6M/5CXmIwAwGAw/9kiGDjV3FWacmz40fXV0boqJWu8tv2p7Z0TYCyHpQq/X4yCbWPtQfkiGEiQ23azyU9N//h7+2DLA0dyCJH8A4OKPPVoYZBcA0EfhYXqXvOovJ6i9ha/vKwl+EMFj/bAcmVLGeFKm9OWJj0vK9y7WBDUmKWR+XCnOcnOmA8DajpZg2vw/YUjZ5hN89CiqSvyxBzJAxH/MmBbzkkUhMKQDgP25NYPXuO6ZO7yFfOx4pq30q5fjB6nTqta8gPSnlzUGpN8ffwIGl8Lva2O8hco/veVKh8XdHXwvk5pXuNKNH1R6K1CFBoh99qY6mUbaX10OAOf+MJAB5MSVBqRfmKsbSDf94EcwpIRyGLFD2SMA4O461NvIx0/C3bW46weKFcjRRcPiEddJmXDkMJOINBKZAVjps6kXinPemeblPXV3YMMVqlTR5CxQRw3KHKSg1+uHjsIuu6nTarTYWlSKqOExPizP4XW75m1+LIS9I3u7onYX0eSQiDQSmQ4e/yFKcHcttlwDzPLx+ZQND6hxXH4C/XDRmWGVdFsU2fdkiAbuA4O+F1JKOm2mektFlfHEjfbv2noNHLF32VpN3bUemnELjOJsKPkjdrbxKNN6jo8dP3/OpyQqy5M/AEB4c/F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