Hi Paul Brett,
I am facing an issue while connecting to and https url to get the token.
WSAConnectSSL: GSK Error Code: 406, GSK_ERROR_IO.
Failure: SSL connection NOT established with target server, <target server url>, on port, 443.
Below is the code I am using in WTX map.
GET( "HTTP" , "-URL
https://123.com/connect/Token -METHOD POST -TV -HDR+ -TYPE application/x-www-form-urlencoded ", package(httpPayload Data:httpTokenRequest))
I am using ITX 9.0.0.3
------------------------------
Suriya Prakash
------------------------------
Original Message:
Sent: Fri March 27, 2020 10:59 AM
From: Paul Brett
Subject: Using ITX to scrape Finance data and display in a spreadsheet
I wrote a quick ITX map today, to scrape some current share prices from Yahoo's Finance pages and then update a spreadsheet to give me an approximate valuation for my portfolio. (Good time to be buying).
ITX is such a versatile general purpose tool, I love it!
Steps:
- Batch script to call Command Server to get the data via the HTTP adapter for a preset list of symbols, saving the results to a flat text file with a CSV extension.
- Use the same batch script to open the CSV file with a fork ('start') call that brings it up in Excel
- A second fork to open a pre-prepared spreadsheet that has live links to that same CSV.
Assuming the second sheet can find all the values in the same places in the CSV, then the formulas update, giving the latest information.
Easy!
------------------------------
__________________________________________________
Paul Brett
IBM Sterling Transformation Extender (ITX) Client Support
------------------------------
#B2BIntegration
#SupplyChain