api - Alamofire Custom Header request swift 3? -


how can make custom header request in swift 3?

i have api key an value. api key x-access-token , value secretapikey.

how can print responses?

let headers = [     "x-access-token" : "secretapikey" ]  alamofire.request("url", headers: headers) 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -