You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature Request] I am currently integrating the PancakeSwap API into my application and have encountered a CORS policy restriction while attempting to access the API from the frontend hosted at https://fawn.app
#11129
Open
1 task done
jiahuamld opened this issue
Jan 12, 2025
· 0 comments
Is your feature request related to a problem you are facing?
Access to fetch at 'https://routing-api.pancakeswap.com/v0/v3-pools-tvl/56' from origin 'https://fawn.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I am currently integrating the PancakeSwap API into my application and have encountered a CORS policy restriction while attempting to access the API from the frontend hosted at https://launcher-fawn.app
Describe the solution you'd like
d it be possible to add support for CORS by modifying the API's response headers to allow requests from specific domains? Specifically, it would be helpful if the following headers could be added to the API's responses:
Access-Control-Allow-Origin: https://fawn.app
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
How does this feature benefit PancakeSwap users and CAKE holders?
This change would greatly enhance the usability of your API for developers and enable seamless integration into modern web applications.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem you are facing?
Access to fetch at 'https://routing-api.pancakeswap.com/v0/v3-pools-tvl/56' from origin 'https://fawn.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I am currently integrating the PancakeSwap API into my application and have encountered a CORS policy restriction while attempting to access the API from the frontend hosted at https://launcher-fawn.app
Describe the solution you'd like
d it be possible to add support for CORS by modifying the API's response headers to allow requests from specific domains? Specifically, it would be helpful if the following headers could be added to the API's responses:
Access-Control-Allow-Origin: https://fawn.app
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
How does this feature benefit PancakeSwap users and CAKE holders?
This change would greatly enhance the usability of your API for developers and enable seamless integration into modern web applications.
Anything else?
No response
The text was updated successfully, but these errors were encountered: