Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9240123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:08:06+00:00 2026-06-18T08:08:06+00:00

I am posting via a plain html text file on c:\ drive into my

  • 0

I am posting via a plain html text file on c:\ drive into my mvc website running on my machine:

<body>
<a id="testPost" href="./post_files/post.htm">test post</a>
<script type="text/javascript">

$("#testPost").click(function () {
    $.post("http://hml.backend/Helix/Authorisation", 
    {
        ClientIP: "192.168.20.34"
    }, function (resultData) {
        alert(resultData);
    });

    return false;
});

the controller is setup thus:

[HttpPost]
public ActionResult Authorisation(string ClientIP)
{
    string result = _videoSecurityService.CheckHelixAuthorisation(ClientIP);
    return Content(result);
}

The controller event gets hit in debug and there is no exception but Chrome says

‘POST: Cancelled’ in the debug window

Any ideas why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:08:07+00:00Added an answer on June 18, 2026 at 8:08 am

    This is a cross domain call and is not allowed in a lot of browsers, since it’s a possible security risk. You could try to redirect your call on the server-side. (make the call to your own application and handle the request-response to the other website there)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem posting file via ajax jQuery function. I have something like
I'm posting a form from a partial view which is rendered via Html.RenderAction and
I am getting problem of posting a text to facebook via share kit, it
I've just uploaded this CSV file via a form, POSTing it to my Python
I am getting an error when posting via ajax to a csv file via
I'm posting HTML content via AJAX to PHP. During debugging process i see that
I am posting data to a php file via jQuery's $.post method, but for
When I'm posting via ajax I'm sometimes getting extra characters posted for example. If
I have a problem POSTing data via HTTPS in Java. The server response is
I am successfully posting a form via ajax, using the following code; $.post( Page.do?source=ajax,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.