-
Venkatesh M
- PowerBuilder
- Wednesday, 11 November 2026 12:45 PM UTC
Hello Everyone,
I am working on a requirement to integrate my PowerBuilder application with a third-party REST API. As part of this integration, the third-party application requires authentication before allowing API requests.
Initially, I assumed that we could retrieve a CSRF token from the third-party application and include the token along with the associated cookies in subsequent API requests. However, after discussing this with their technical team, I was informed that they do not provide a CSRF token.
I would therefore like to understand what alternative authentication mechanisms can be implemented from the PowerBuilder side.
Specifically:
- Is it possible to generate an authentication token (such as a custom token or CSRF token) directly from PowerBuilder code?
- What alternative authentication approaches can be used to securely authenticate requests to a third-party REST API?
- Can authentication headers, tokens, or other required security credentials be generated and passed using PowerBuilder's HTTP/OLE capabilities?
I am using PowerBuilder 2019 R3.
It would be greatly appreciated if anyone could share relevant sample code, implementation examples, documentation, or reference links to help me understand how this can be achieved.
Thanks in advance for your time and assistance!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.