Navigation

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

    Confused to setup Header Information

    Python SDK
    0
    2
    12
    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.
    • R
      rahulvishwakarma last edited by

      payload = "{\n"clientcode":"S162966",\n"password":"**********"\n}"
      headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json',
      'X-UserType': 'USER',
      'X-SourceID': 'WEB',
      'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
      'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
      'X-MACAddress': 'MAC_ADDRESS',
      'X-PrivateKey': 'API_KEY'
      }

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @rahulvishwakarma last edited by

        hi @rahulvishwakarma

        Kindly refer to the header parameter to fill the respective keys.
        https://smartapi.angelbroking.com/docs/ResponseStructure

        Thanks & Regards,
        SmartAPI team

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