watch_later 19/05/18

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 ?

1 Response | Latest response: 19/05/18 | Sort by Likes(thumb_up) Recent | GST Reply
watch_later 19/05/18

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);
});
JOIN LARGEST DISCUSSION PLATFORM

Sign up to discuss taxation, accounting and finance topics with experts from all over India.

Join Discussion