How to set Authorization to URlRequest in swift 3.0

  • 0 Respuestas
  • 29 Vistas
*

albertalley

  • *
  • 2
  • +0/-0
    • Ver Perfil
How to set Authorization to URlRequest in swift 3.0
« en: Abril 26, 2017, 04:53:19 am »
Hello guys,

I'm getting strange behaviour when posting to get response from server which requires Basic Authorization.my token gets gets expired after every two hours.Every things works fine but some times i dn't knw but getting reponse from server "Parameter not null" error.i debuged there is nothing going null.i go through document.




I didn't find the right solution from the internet.
References:
- https://forums.developer.apple.com/thread/68809
- Mobile intro video Examples.