WordsAPI

フリーミアム
Verified
よって dpventures | 更新済み hace 25 días | Data
人気

9.9 / 10

レイテンシー

178ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

get a word with multiple details (details and synonyms)

Rapid account: Akrapovich 31
akrapovich31
hace 2 años

How can i get a word with multiple details, for example this doesnt work:

examples:

//BOTH DONT WORK

let params = new HttpParams().set(‘hasDetails’, ‘definitions’).append(‘hasDetails’, ‘synonyms’).set(‘random’, ‘true’)
return this.httpClient.get(“https://wordsapiv1.p.rapidapi.com/words/”, { headers: headers, params: params });

OR

let params = new HttpParams().set('hasDetails', 'definitions,examples').set('random', 'true')
return this.httpClient.get("https://wordsapiv1.p.rapidapi.com/words/", { headers: headers, params: params });
	
	
	You wrote in the documentation:
	To find words with more than one type of detail, send a comma       separated list, but i get an error 500

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿