Handling API requests accessed over HTTPS on OS X

Mac OSX specific forum
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 544
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Handling API requests accessed over HTTPS on OS X

Post by bbanelli »

Greetings,

I would like to use FreeAgent API and, I quote:
All API access is over HTTPS and accessed from api.freeagent.com.
Since "Http" commands in PureBasic doesn't support HTTPS, what is the alternative on OS X?

Best regards,

Bruno

Edit: it seems that this Wilbert's example works fine with HTTPS.

However, can anyone be kind enough as to give a small example of POST request?

Official Apple documentation is killing me since I have only begun to grasp Cocoa concepts altogether, so any help or hint would be appreciated!
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
deseven
Enthusiast
Enthusiast
Posts: 367
Joined: Wed Jan 12, 2011 3:48 pm
Location: Serbia
Contact:

Re: Handling API requests accessed over HTTPS on OS X

Post by deseven »

I can suggest to use curl, because it's easy to use and it's in the OS X by default.
Post Reply