Annotate Class

Report a typo

Write a code to get an instance of the class Picture on GET request:

routing {
    /* your code here */ { picture -> call.respond("Picture size: ${picture.width}x${picture.height}") }
}
Enter a short text
___

Create a free account to access the full topic