create Note

@PostMapping(headers = [] )
open fun createNote(    @PathVariable(value = "id") id: String,     @RequestHeader(value = "token") token: String,     @RequestBody payload: Map<String, String>): String

Method to create a new note

Return

the result of the request as String

Parameters

id

The identifier of the user

token

The token of the user

payload

The payload with the content of the note