diff --git a/README.md b/README.md index f334324..c3db1ef 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Set a header for all future requests. Takes a header and a value. }); ### enableSSLPinning -Enable or disable ssl pinning. To use ssl pinning you must include at least one .cer ssl certificate in your app project. For ios include your certificate in the root level of your bundle(Just add the .cer file to your project/target at the root level). For android include your certificate in your projects assets folder. In both cases all .cer files found will be loaded automatically. If you only have .pem certificate see this [stackoverflow answer](http://stackoverflow.com/a/16583429/3182729). You want to convert it to a DER encoded certificate with a .cer extension. +Enable or disable SSL pinning. To use SSL pinning you must include at least one .cer SSL certificate in your app project. For ios include your certificate in the root level of your bundle (just add the .cer file to your project/target at the root level). For android include your certificate in your project's platforms/android/assets folder. In both cases all .cer files found will be loaded automatically. If you only have a .pem certificate see this [stackoverflow answer](http://stackoverflow.com/a/16583429/3182729). You want to convert it to a DER encoded certificate with a .cer extension. cordovaHttp.enableSSLPinning(true, function() { console.log('success!'); @@ -56,7 +56,7 @@ Enable or disable ssl pinning. To use ssl pinning you must include at least one }); ### acceptAllCerts -Accept all ssl certificates. Or disable accepting all certificates. +Accept all SSL certificates. Or disable accepting all certificates. cordovaHttp.acceptAllCerts(true, function() { console.log('success!'); @@ -64,11 +64,11 @@ Accept all ssl certificates. Or disable accepting all certificates. console.log('error :('); }); -### post -Execute a post request. Takes a url, parameters, and headers. +### post