Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

159
Views
API test environment giving same result every time

I am trying to test an API on delhivery logistic test environment but keep getting same result each time even I am entering API key on there testing environment.

this is there test environment code below:


const options = {
  "method": "GET",
  "hostname": "staging-express.delhivery.com",
  "port": null,
  "path": "/c/api/pin-codes/json/",
  "headers": {
    "Accept": "application/json",
    "Authorization": "Token api-token-key Pass Token as \"Token XXXXXXXXXXXXXXXXXX\""
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on("data", function (chunk) {
    chunks.push(chunk);
  });

  res.on("end", function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();

but its showing this result even I am filling both required field

login or API Key Required

link to there test environment https://delhivery-express-api-doc.readme.io/reference/testpin-codes

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!