kucoin-api-docs icon indicating copy to clipboard operation
kucoin-api-docs copied to clipboard

cors problem from clientside

Open se8820726 opened this issue 2 years ago • 4 comments

if I request to any of the rest api urls from browser (client side) , I give cors error because lack of cors headers in response

why dont you put cors headers in rest api responses ?

se8820726 avatar Jan 23 '22 12:01 se8820726

I'm having the same issue. Tested in Firefox, Chromium, and Brave on Linux. KC_API_axios_error (Above) error from axios in React. I am getting a response when using curl as hoped, but not expected. I am connected to the internet despite "Error: Network Error" in the JavaScript console.

jpwall avatar Mar 17 '22 10:03 jpwall

Hello

For most GET requests, it will work from browser URL.

For POST requests, you should do authentication and provide headers. It is more easier using a programming language like Python.

For more information please refere to main API TELEGRAM GROUP and state your issue there to get guide from Admins there.

Also you can refer to API Learning Center Channel

And also always check Notification Channel

progressivehed avatar May 18 '22 12:05 progressivehed

All public API endpoints should provide "Access-Control-Allow-Origin: *" in the header.

zigazajc007 avatar Sep 04 '22 00:09 zigazajc007

issue still persist for me,i am using kucoin sandbox api

hills2003 avatar Dec 22 '22 23:12 hills2003