How do I make an HTTPS request in Squeak or Pharo?
source link: https://www.codesd.com/item/how-do-i-make-an-https-request-in-squeak-or-pharo.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How do I make an HTTPS request in Squeak or Pharo?
How can I make an HTTPS request from Squeak or Pharo? HTTPClient
and friends seem to lack any facilities for SSL.
Zodiac as mentioned above will enable you to make HTTPS requests from Zinc.
Enable it like this (recipe from the Pharo forum):
First download the SqueakSSL plugin and put it in your Pharo directory, and then load the necessary packages:
"Load Zinc HTTP Components" Gofer it squeaksource: 'ZincHTTPComponents'; package: 'Zinc-HTTP'; package: 'Zinc-Tests'; package: 'Zinc-Patch-HTTPSocket'; load. "Load Zodiac including extras" Gofer it squeaksource: 'Zodiac'; package: 'Zodiac-Core'; package: 'Zodiac-Tests'; load. "Load extra Zinc support for Zodiac" Gofer it squeaksource: 'ZincHTTPComponents'; package: 'Zinc-Zodiac'; load. "Switch to the Zn Zodiac socket factory" ZnNetworkingUtils default: ZnZodiacNetworkingUtils new.
And you should be able to make requests against HTTPS resources.
Related Articles
How can I make queued http requests in the mule project
How do I make an http request using cookies on Android?
how can I make an HTTP request with Swift 3?
How can I make several http requests in a factory
Make an HTTP request to Pharo and get the response headers
How to make an HTTP request in Swift 2.0 (Xcode 7.2)
How to make an HTTP request from SSIS?
How to make several http requests in my case?
How to make an HTTP request in Swift?
How to make an HTTP request with AFNetorking and NSURLRequest?
how to make an https request using php Http_Request2 ()
How to make an HTTP request via sock proxy (s) using python?
Make an HTTP request to self in NodeJS / ExpressJS
Make an http request to insert the Google Calendar
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK