Reputation: 1
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
Reputation: 1
Content-Type: application/xml;charset=utf-8; pass in request header
Upvotes: 0
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
Reputation: 65
Please check value of system variable named as SVExportFormat, this should have value as 'XML'
Upvotes: 0