getJsonRawBody and getRawBody methods returns empty in put methods, if i change the to post method they work.
PS: sorry for my english, i'm beginner.
Put method is used to place files onto the server, so its a streaming process.
from the method i can see that the content is expected to be delivered as one whole package but not as a stream of data.
it is possible to alter it
var rawBody, contents, data;
let contents = fopen("php://input", "r");
while let data = fread(contents, 1024))
let rawBody .= data;