WordsAPI

부분 유료
Verified
분류별 dpventures | 업데이트됨 25 days ago | Data
인기

9.9 / 10

지연 시간

178ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

get a word with multiple details (details and synonyms)

Rapid account: Akrapovich 31
akrapovich31
2 years ago

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입