Skip to content

Conversation

dkrasnoff
Copy link
Collaborator

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 dkrasnoff requested a review from zoobestik October 16, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant