Minesh Jain
Minesh Jain

Reputation: 1

Getting issue while posting XML to tally

When I request to export data via XML interface from tally, it throws HTML file contains response ‘Tally Server is Running’ with licence detail in place of XML response. Please help me? Getting correct response of XML when posted on education mode of tally. But when I post it over licence version getting this response 'Tally Server is running' with licence detail.

Upvotes: -1

Views: 709

Answers (3)

Nilesh Modhawadiya
Nilesh Modhawadiya

Reputation: 1

Content-Type: application/xml;charset=utf-8; pass in request header

Upvotes: 0

Mitalee Rao
Mitalee Rao

Reputation: 191

Most probably you have not included the xml request while hitting the server and port. You need to add the xml request as a data parameter. For example, if you're using curl, it would be:

curl -X POST http://localhost:9000 --data "[insert XML here]"

Upvotes: 0

Bhaumik Vyas
Bhaumik Vyas

Reputation: 65

Please check value of system variable named as SVExportFormat, this should have value as 'XML'

Upvotes: 0

Related Questions