kotlin-compiler-server
kotlin-compiler-server copied to clipboard
KTL-2973 Deprecated old compilation endpoint.
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 .