Navigation

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

    Bad Request

    General Discussion
    3
    4
    63
    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.
    • N
      narenderkhod last edited by

      Hey,

      I am using the getRMS call using the postman but receiving "bad request" response. Like below

      angel.PNG .

      So can you please let me know what I am doing wrong here.

      1 Reply Last reply Reply Quote 0
      • S
        sigaramtrades last edited by

        @narenderkhod did u find the resolution for this issue, Am also facing this issue now. the api works well with python but only in postman I get the error.

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

          HI @narenderkhod @sigaramtrades We tried to execute the APIs through postman kindly fin the req and response

          Req:
          {
          "variety":"NORMAL",
          "tradingsymbol":"BANKNIFTY01JUL2133100CE",
          "symboltoken":"52205",
          "transactiontype":"BUY",
          "exchange":"NFO",
          "ordertype":"MARKET",
          "producttype":"CARRYFORWARD",
          "duration":"DAY",
          "quantity":"25"
          }
          Res:
          {
          "status": true,
          "message": "SUCCESS",
          "errorcode": "",
          "data": {
          "script": "BANKNIFTY01JUL2133100CE",
          "orderid": "210714000000280"
          }
          }

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

            Hi @narenderkhod @sigaramtrades kindly check your headers.

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