xcode - OS X : Swift : Open Safari (or default browser) with POST -


i'm trying build small utility os x (a statusbar app) using swift list our current clients , when client clicked - open safari client url sending post request (such login details clients wordpress, intranet or other webb application).

nsworkspace.sharedworkspace().openurl(nsurl(string: "url")!) 

doesn't seem have way of incorporating post data.

it's not app store submission, internal use within team.

any ideas or solutions?

you can't achieve opening url - result in request, typing url url bar. "javascript:" urls cannot opened via openurl, doesn't either. best option use apple script open site in new window , execute java script post login form.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -