SPFx: Error in REST API call spHttpClient.get()
-
15-02-2021 - |
Pregunta
In my child component:
I tried to make a rest call from spfx web part to get people results, but it throws errors.
this.props.context.spHttpClient.get(query)
;
Error: can't read property get of undefined
I believe it's something related to context of web part or padata protocol rules. But I passed down the context from parent component to child.
Thanks in advance.
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a sharepoint.stackexchange