Problem with calling REST API

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
hobocamp
Premium Member
Premium Member
Posts: 98
Joined: Thu Aug 31, 2006 10:04 am

Problem with calling REST API

Post by hobocamp »

I'm attempting to perform a simple GET for a REST api, in which I use a predetermined URL to return a series of reports, based on a date range.

I'm able to successfully perform the action with both a web browser and Postman, but when running calling it with my DS job (utilizing a hierarchical stage), I get a "401 unauthorized" error.

The authentication is basic - user ID and password - and I've verified (via the browser and Postman tests) that those values are correct.

If anyone has any suggestions as to why the DS process is failing it would be appreciated.

Thank you.
Tom
Post Reply