0
votes

I am using Sybase PowerBuilder 11.5 to develop a BS structure software, now I want to use PowerBuilder to connect a REST API. Specifically, I want to use PowerBuilder to get data from:

http://172.16.0.14:30201/childTable?groupId=SNS16495&dictCode=02001

This REST service returns the data I want from the server, how can I make PowerBuilder retrieve data from this service?

1
You might be able to use Ronald Smith's WinHTTP to do it.topwizprogramming.com/freecode_winhttp.html - Slapout
Google "PowerBuilder REST API" to find a lot of information. - Matt Balent
Please add an example output because your link is dead. - RealHowTo

1 Answers

1
votes

PowerBuilder 11.5 is extremely old and doesn't support calling REST Web APIs. There might be some third party DLLs you could include to enable this, but the current version of PowerBuilder (version 2017) natively provides a new HTTPClient object together with JSON Parser and Generator objects so you can easily call REST Web APIs. In terms of security, it supports TLS 1.2, provides OAuth client plus encryption, hashing, and encoding functions.