Problems Using Axios to Query from AWS API Gateway
Hi All,
I am going through the docs and I setup a manual data provider so i can provide my AWS Cognito AccessToken as a bearer token under the Authorization header in Axios, but some reason, when my data provider makes the request with
This is my code on my
And in my data provider for getList, I added the following to try to setup the Auth headers:
Also, I cannot seem to be able to
I am going through the docs and I setup a manual data provider so i can provide my AWS Cognito AccessToken as a bearer token under the Authorization header in Axios, but some reason, when my data provider makes the request with
getList it doesn't send the proper headers.This is my code on my
organizations page, that simply tries to list out all the organizations:And in my data provider for getList, I added the following to try to setup the Auth headers:
Also, I cannot seem to be able to
console.log anything from within my dataProvider functions, in an attempt to debug what's going on, like getList, is this normal?
