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 PaulRank #7 · 71.9K reputationPosted Apr 3, 2023, 2:36 PM EDT
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.Vishal JoshiRank #377 · 6.7K reputationPosted Apr 3, 2023, 4:43 AM EDT
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
Tuhin PaulRank #7 · 71.9K reputationPosted Apr 3, 2023, 2:37 PM EDT
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 JoshiRank #377 · 6.7K reputationPosted Apr 3, 2023, 3:17 AM EDT
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
Ramco RamcoRank #462 · 5.4K reputationPosted Apr 3, 2023, 3:31 AM EDT
Hi
i am unable to post that's why i have written htps , though i am using correct
Thanks
Vishal JoshiRank #377 · 6.7K reputationPosted Apr 3, 2023, 3:33 AM EDT
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 RamcoRank #462 · 5.4K reputationPosted Apr 3, 2023, 3:36 AM EDT
Hi
IN actual i am using https , since i am unable to post on form that's why i have written as htps
Thanks