-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The X-Total-Count header is missing in the HTTP Response. #2
Comments
Because the Loopback server didn't support that header. But you can add it by using my another component: https://github.com/kimkha/loopback3-xTotalCount |
@kimkha Thanks for your quick response. 😉
Do you have any other suggestion for me? |
How about add this to your
|
No it's still show above error message. |
Did you remove |
Sounds strange.... |
No |
Try to remove it please, just use component setting. |
After remove that line, this warning message gone but it's still show bellow error message on admin ui client:
|
Can you use API Explorer and call Or can you post your code on here? |
My project is a little big and I can't post all of code. Which part of code needs now?
|
Already had Could you please show me your |
Is it need |
it's my
|
Maybe, if your react apps and your loopback use different domain. |
My react admin-on-rest URL is: |
Please try to use |
Can you guide me how we can add |
I have to go home now. I continue this project and check this issue after this. |
Actually, I don't know how to add that header. Ah, did you open developer console and see Network tab? |
Hi @kimkha , |
I found it. To allow other headers over cross domain, we must expose in the setting of cors. So, open |
Hi @kimkha , |
Hi @kimkha I try using your RestClient but it's return below error:
Do you have any idea?
The text was updated successfully, but these errors were encountered: