Request format is unrecognized for URL unexpectedly ending in '/ShowACDetails'

When send a http request to the web URL, then given this error…wrtyujil

Working fine in Python but not in kodular… How to send http request as json…???

var _data = JSON.stringify({
officerdetails: {
DistrictID: ID,
}
How to use this function in Kodular…

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

blocks (1)

you might want to provide the complete error message / response content…
also do you have any link to the API documentation?
Taifun

Request format is unrecognized for URL unexpectedly ending in '/ShowACDetails'. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:pointer; } @media screen and (max-width: 639px) { pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; } } @media screen and (max-width: 479px) { pre { width: 280px; } }
<span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>



        <h2> <i>Request format is unrecognized for URL unexpectedly ending in '/ShowACDetails'.</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">



        <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



        <br><br>



        <b> Exception Details: </b>System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/ShowACDetails'.<br><br>



        <b>Source Error:</b> <br><br>



        <table width=100% bgcolor="#ffffcc">

           <tr>

              <td>

                  <code>

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

              </td>

           </tr>

        </table>



        <br>



        <b>Stack Trace:</b> <br><br>



        <table width=100% bgcolor="#ffffcc">

           <tr>

              <td>

                  <code><pre>

[InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/ShowACDetails'.]

System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +704

System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +275

System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +87

System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +418

System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158

              </td>

           </tr>

        </table>



        <br>



        <hr width=100% size=1 color=silver>



        <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0



        </font>

This is the response content

do you have any link to the API documentation?
Taifun