from within cs.net Winform we are trying to access
gstininfo oParty = GstDetails.GetDetails(ApiKey, txtlst_no.Text);
but its failing with above error
only one time it worked ok
what is going wrong and how can be this reolved ?
Did you check latest documentation?
I think you trying with PARAMS in url. You need to send accesstoken in headers.
From documentation this is NODEjs code and its working:
var request = require("request");
var options = { method: 'GET',
url: 'https://www.knowyourgst.com/developers/gstincall/',
qs: { gstin: 'GST-Number' },
headers:
{
passthrough: 'API_KEY' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Sign up to discuss taxation, accounting and finance topics with experts from all over India.
Join Discussion