Add PUT request handling in InvokeRecActionCommandHandler
Implemented HTTP PUT request handling in the InvokeRecActionCommandHandler class. Previously, the PUT case only had a placeholder comment. Now, it uses http.PutAsync to send a PUT request to the specified action.EndpointUri, aligning it with the existing POST request handling.
This commit is contained in:
parent
a57f53b6a1
commit
c6bcdc3fac
@ -39,7 +39,7 @@ public class InvokeRecActionCommandHandler(ISender sender) : IRequestHandler<Inv
|
||||
}
|
||||
case "PUT":
|
||||
{
|
||||
// Handle PUT
|
||||
using var response = await http.PutAsync(action.EndpointUri, null, cancel);
|
||||
break;
|
||||
}
|
||||
case "DELETE":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user