0

I have implement my api with header like image1 with the following code for Alamofire request. And it was working fine.

var headers: HTTPHeaders = [.authorization(bearerToken: token]

But later my web developer changed some thing in his api implementation. From now the token I provided in the 'header section' in the image1 is no longer working. Then I found the api is working for 'Authorization' token like image2 in the postman.

How can I implement this in my Alamofire request? Any help.

Jamil
  • 2,977
  • 1
  • 13
  • 23

0 Answers0