StatusCode... 200 but content text... "The requested URL was rejected. Please consult with your administrator"


  • Hi,

    After having done Authenbolded texttication using ....
    https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByMpin

    i received following response...
    {StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
    {
    X-Frame-Options: SAMEORIGIN
    X-XSS-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    Cache-Control: no-cache
    Connection: close
    Pragma: no-cache
    Content-Type: text/html; charset=utf-8
    Content-Length: 246
    }....}

    And response-content is coming as below html:
    <html>
    <head>
    <title>Request Rejected</title>
    </head>
    <body>The requested URL was rejected. Please consult with your administrator.
    <br>
    <br>Your support ID is: 5492786207515363687
    <br>
    <br><a href='javascript:history.back();'>[Go Back]</a>
    </body>
    </html>

    Please suggest the reason for this rejection.

    Regards.