Home How to pass pfx file through rest call api in swift
Reply: 0

How to pass pfx file through rest call api in swift

Alkesh Mahajan
1#
Alkesh Mahajan Published in 2018-01-12 11:14:20Z

I want to pass pfx file through rest call api in swift. pfx file stored in local drive.

I will done in python so sample code is below

response = requests.post(url, json=json.loads(jsonstr,object_pairs_hook=OrderedDict),headers={"Authorization": "Basic %s" %b64Val},cert='C:\\Users\\lenovo\\Desktop\\A\\chatbot.pem', verify=True)
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.31443 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO