Skip to content
Advertisement

Tag: ktor

Access-Control-Allow-Origin issue in ktor cors header

I am building a simple REST API using ktor and used cors but when i send a simple get request with no headers data the server works fine but if i want the client to have say key:1 the server doesn`t respond me correctly, it says the problem is so here is my ktor code and my javascript code looks

Advertisement