Bug 6754

PB2019 - SendPostRequest Documenation 09 June, 2021

Chris Pollach @Appeon
09 June, 2021
Product: PowerBuilder Category: Documentation
Version: 2019 R3 Build: 2703
Classification: Appeon bug Publishing: Public
Priority: P3
Status: Transferring Reason:
Mark Lee @Appeon 09 June, 2021
#2
Hi Chris,

Thank you for reporting this issue! We will correct the documentation.

Regards,
Mark Lee
Chris Pollach @Appeon 09 June, 2021
#1
Transferring to the Documentation Team
Chris Pollach @Appeon 09 June, 2021
*Phenomenon: The "SendPostRequest" command online documentation is wrong. The online version states to use "HTTP" in the code example but this will fail at runtime. Instead, you have to set the URL to "HTTPS://....".


*Reproduce Steps:  Online documentation & example:
https://docs.appeon.com/pb2019/powerscript_reference/ch10s584.html
ltreq_Appeon.tokenlocation = "http://demo.appeon.com/pb/identityserver/connect/token"


Remarks: PB native help (which is correct) states:
ltreq_Appeon.tokenlocation = "https://demo.appeon.com/pb/identityserver/connect/token"
OS:
Windows 10
Platform:
64-bit
Database Type:
SAP SQL Anywhere
Database Version:
17.0