Can I make POST, PUT, PATCH and DELETE requests, s...
# kvision
m
Can I make POST, PUT, PATCH and DELETE requests, specifying and setting request headers (
Authorization
) and setting request body content with the "built" in rest client in KVision (https://kvision.gitbook.io/kvision-guide/part-2-advanced-features/using-rest-services)? I can't find anything in the documentation mentioning how to do this but looking into the
RestClient
I find:
Copy code
enum class HttpMethod {
    GET,
    POST,
    PUT,
    DELETE,
    OPTIONS
}
But I don't see any other method used than
HttpMethod.GET
and I can't see that the request headers or body is possible to set in the call.