kotlin-compiler-server icon indicating copy to clipboard operation
kotlin-compiler-server copied to clipboard

KTL-2973 Deprecated old compilation endpoint.

Open dkrasnoff opened this issue 1 month ago • 0 comments

Deprecated the old compilation endpoint.

Now it should return 400 and provide an explanation of what to do with it.

To check, you can call:

curl -X 'GET' \
  'http://localhost:8080/kotlinServer?type=test&addByteCode=false' \
  -H 'accept: application/json'

The response will be:

This endpoint is not available anymore.
And will be soon removed from the Kotlin Playground.
If you are using playground widget, then update to the new version: https://github.com/JetBrains/kotlin-playground 
Otherwise, use the new api available at: https://api.kotlinlang.org/api/<kotlin_version>/compiler/run .

dkrasnoff avatar Oct 16 '25 13:10 dkrasnoff