                 
                 if let data = postString.data(using: NSUTF8StringEncoding) {
                     
-                    response.setHeader("Content-Type", value: "text/plain; charset=utf-8")
-                    
                     HttpClient.post(resource: authStep1, headers: headers, data: data) { error, status, headers, data in
                         Log.debug("Received response from Pocket API")
                         

                                         code: 1,
                                         userInfo: [NSLocalizedDescriptionKey: "Parameters not found"])
                next()
            }
        }
    }

                            next()
                        } else {
                            
                            if let data = data,
                                let code = String(data: data, encoding: NSUTF8StringEncoding) {
                                
                                let requestToken = code.replacingOccurrences(of: "code=", with: "")
                                self.pocketRequestTokens[slackId] = requestToken
                                let redirecTo = "https://getpocket.com/auth/authorize?request_token=\(requestToken)&redirect_uri=\(redirectURL)"
                                Log.debug("Pocket request token =  \(requestToken)")
                                
                                do {
                                    Log.debug("Redirecting")
                                    try response.redirect(redirecTo)
                                }
                                catch {}
                                return
                            }
                        }
                    }
                }
