how to define the data format returned by proxy #1564
Unanswered
huaiguoguo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
it's not safe if the data format returned
![image](https://private-user-images.githubusercontent.com/1888094/260014657-7a909fe2-87af-4266-922d-b037c6cd0aff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjExNjMsIm5iZiI6MTczOTAyMDg2MywicGF0aCI6Ii8xODg4MDk0LzI2MDAxNDY1Ny03YTkwOWZlMi04N2FmLTQyNjYtOTIyZC1iMDM3YzZjZDBhZmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTMyMTAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTUwNWM0ZGVkZDM2YmRmNGNjMjNkOTdkZmRjZDMxOTc1NjFjMjQ2MzBkMmMxNGJhYmVhY2VjNmJlYzlkNjNjMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.FZ-24lCNCIvcKOPoCLoJR6Z1uVL1bVSaVVJ9llPob2U)
the the full url of request should not be returned:
'http://127.0.0.1:8000/api/v1/user/info'
i am mean how to define the data format returned by proxy
i am set follow in nuxt.config.ts:
Beta Was this translation helpful? Give feedback.
All reactions