Httppost action from menu

Discussion in 'Tally Developer' started by Ansal, Jan 31, 2014.

    
  1. Ansal

    Ansal New Member


    Hello,

    Is it possible to call httppost action directly from a menu?
     


  2. Maulik Patel

    Maulik Patel Active Member


    Dear Ansal,
    Try below code

    Code:
    [#Menu : Gateway Of Tally]
        Item : "A" : CALL : My Http Function
     
    [Function : My Http Function]
        00 : HTTP Post : "Tally" + $$ConnectedTRBUrl : UNICODE : UpdateCompanyInfoWithTallyNet
     


  3. Ansal

    Ansal New Member


    Thank you Maulik, I tried it but i am getting action failed message. i need to change the below button action to a menu

    [Button: UploadData]

    Action : HTTP Post : @@ServerURL: ASCII: DataReport : Error Report : Success Report
     


Share This Page