Hi guys
static NSString *const kHNKLookupBaseUrl = @"http://api.wordnik.com:80/v4";
changing it to
static NSString *const kHNKLookupBaseUrl = @"http://api.wordnik.com:80/v4/words.json/randomWord?hasDictionaryDef=true&excludePartOfSpeech=definite-article&minCorpusCount=1&maxCorpusCount=-1&minDictionaryCount=30&maxDictionaryCount=-1&minLength=1&maxLength=-1&api_key=[my api key]
";
but this broke my code. Is there a certain phrase or area that I should be looking out for where I can put my new request URL in and thus run my program with my desired parameters?
just worth noting that I get the following error: " Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={NSLocalizedDescription=Request failed: unauthorized (401)"