diff --git a/curl_cmds.txt b/curl_cmds.txt deleted file mode 100644 index 03dffdf..0000000 --- a/curl_cmds.txt +++ /dev/null @@ -1,33 +0,0 @@ -curl -i -X POST -H "Content-Type: application/json" -d '{"username":"admin","password":"admin"}' http://be-ctel-manulife-sbt:9000/api/ctel/login/ - - -curl -i --location '107.120.133.27:9886/api/ctel/image/process/' \ ---header 'Authorization: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpZCI6InhodXllbiIsImV4cGlyZWRfYXQiOiIxNC8xMC8yMDM0IDAyOjEyOjIyIiwiaW50ZXJuYWxfaWQiOjM2LCJzdGF0dXMiOjEsInN1YnNjcmlwdGlvbl9pZCI6MzN9.M4McUHsRmcO7X3fa4AlQmmzx_QrHjS2TbwqO9D7JSA73yaqBajpRUTos-wGmX-Sor8YNvd6TtVZOzaNqWFKQaw' \ ---form 'file=@"/mnt/hdd4T/TannedCung/OCR/FI-SBT-demo/cope2n-ai-fi/modules/sdsvkie/demos/2022_07_25 farewell lunch.jpg"' \ ---form 'processType="12"' - -curl -X 'POST' \ - 'http://42.96.42.13:9880/api/ctel/images/process/' \ - -H 'accept: */*' \ - --header 'Authorization: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpZCI6InhodXllbiIsImV4cGlyZWRfYXQiOiIxNC8xMC8yMDM0IDAyOjEyOjIyIiwiaW50ZXJuYWxfaWQiOjM2LCJzdGF0dXMiOjEsInN1YnNjcmlwdGlvbl9pZCI6MzN9.M4McUHsRmcO7X3fa4AlQmmzx_QrHjS2TbwqO9D7JSA73yaqBajpRUTos-wGmX-Sor8YNvd6TtVZOzaNqWFKQaw' \ - -H 'Content-Type: multipart/form-data' \ - --header 'X-CSRFTOKEN: 9iW1pPLUUtYFzBpwTaLgUSfCaQQBZ9uvfsTjwDV1OuPBGhAKUOkiyhLFuWkP33ta' \ - --form 'imei_files=@"/mnt/hdd4T/TannedCung/OCR/FI-SBT-demo/test_images/handsomeian@gmail.com TV.jpg";type=image/jpeg' \ - --form 'imei_files=@"/mnt/hdd4T/TannedCung/OCR/FI-SBT-demo/test_images/handsomeian@gmail.com RS.png";type=image/png' \ - --form 'invoice_file=@"/mnt/hdd4T/TannedCung/OCR/FI-SBT-demo/test_images/Invoice.jpg";type=image/jpeg' \ - --form 'redemption_ID="12"' - -curl -X 'POST' \ - 'http://42.96.42.13:9880/api/ctel/images/process/' \ - -H 'accept: */*' \ - -H 'Authorization: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpZCI6InhodXllbiIsImV4cGlyZWRfYXQiOiIxNC8xMC8yMDM0IDAyOjEyOjIyIiwiaW50ZXJuYWxfaWQiOjM2LCJzdGF0dXMiOjEsInN1YnNjcmlwdGlvbl9pZCI6MzN9.M4McUHsRmcO7X3fa4AlQmmzx_QrHjS2TbwqO9D7JSA73yaqBajpRUTos-wGmX-Sor8YNvd6TtVZOzaNqWFKQaw' \ - -H 'Content-Type: multipart/form-data' \ - -H 'X-CSRFTOKEN: 9iW1pPLUUtYFzBpwTaLgUSfCaQQBZ9uvfsTjwDV1OuPBGhAKUOkiyhLFuWkP33ta' \ - -F 'imei_files=@"./test_images/handsomeian@gmail.com TV.jpg";type=image/jpeg' \ - -F 'imei_files=@"./test_images/handsomeian@gmail.com RS.png";type=image/png' \ - -F 'invoice_file=@"./test_images/Invoice.jpg";type=image/jpeg' \ - -F 'redemption_ID="12"' - -curl --location 'http://42.96.42.13:9880/api/ctel/result/SAP659c495e8d684a779527c01345f248c0/' \ ---header 'accept: */*' \ ---header 'Authorization: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpZCI6InhodXllbiIsImV4cGlyZWRfYXQiOiIxNC8xMC8yMDM0IDAyOjEyOjIyIiwiaW50ZXJuYWxfaWQiOjM2LCJzdGF0dXMiOjEsInN1YnNjcmlwdGlvbl9pZCI6MzN9.M4McUHsRmcO7X3fa4AlQmmzx_QrHjS2TbwqO9D7JSA73yaqBajpRUTos-wGmX-Sor8YNvd6TtVZOzaNqWFKQaw' \ No newline at end of file