Hi
Whe i run this report it workd - htps://localhost:44351/Admin/ReportOrderingInput
When i run api it gives error - This page is not working
htps://localhost:44351/API/ApiList/GetOrderingInput?APIKey=BCBE1710D10DFF&FromDate=2022-12-01&ToDate=2022-12-27&DeliveryStatus=0
Thanks
Tuhin PaulPosted Apr 3, 2023, 6:36 PM
Check if the API route is defined in your application. Double-check that you have defined the route for
GetOrderingInputin your API controller and it is accessible from the URL.Tuhin PaulPosted Apr 3, 2023, 6:37 PM
Check if you have enabled HTTPS on your API endpoint. It is possible that the API endpoint requires HTTPS, and you have not enabled it. Make sure that HTTPS is enabled for the API endpoint.
Vishal JoshiPosted Apr 3, 2023, 8:43 AM
Hello Ramco
As you are saying you have written htps but there is no protocol called htps. so it won't work.
please keep it https. there might be some other issue with the query string parameter or any other configuration issue.
please share more details to identify the issue.
Thanks
Ramco RamcoPosted Apr 3, 2023, 7:36 AM
Hi
IN actual i am using https , since i am unable to post on form that's why i have written as htps
Thanks
Vishal JoshiPosted Apr 3, 2023, 7:33 AM
Try to use http.
Like below sample
http://localhost:44351/API/ApiList/GetOrderingInput?APIKey=BCBE1710D10DFF&FromDate=2022-12-01&ToDate=2022-12-27&DeliveryStatus=0
Ramco RamcoPosted Apr 3, 2023, 7:31 AM
Hi
i am unable to post that's why i have written htps , though i am using correct
Thanks
Vishal JoshiPosted Apr 3, 2023, 7:17 AM
Hello
It's due to htps in your URL. it should be https.
Please try below URL
https://localhost:44351/API/ApiList/GetOrderingInput?APIKey=BCBE1710D10DFF&FromDate=2022-12-01&ToDate=2022-12-27&DeliveryStatus=0
Thanks