Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Request Rejected - while tryng to login

    General Discussion
    2
    2
    2
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      suryavenkat last edited by

      https://apiconnect.angelone.in/rest/auth/angelbroking/user/v1/loginByPIN

      body: { clientcode: '', totp: '', mpin: '' },
      headers: {
      'Content-Type': 'application/json',
      'X-PrivateKey': '4r
      **H1',
      'X-ClientLocalIP': '10.10.10.10',
      'X-ClientPublicIP': '167.10.20.77',
      'X-MACAddress': '00-1A-2B-3C-4D-5E',
      'X-UserType': 'USER',
      'X-SourceID': 'WEB',
      Accept: 'application/json'
      },
      insecure: true
      }

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @suryavenkat last edited by

        @suryavenkat try to login via postman, login is working fine. The body of the request you sent looks problematic, we have 3 parameters - clientcode, password (not mpin) and TOTP. Please refer to the API doc of login for the same.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post