Hello everyone,
I am facing an issue to edit a user using Api /Users/Users_PutById .i dont know how to give the body .any pls help me.
Hi @Aswathy_K1 ,
welcome to forum
You can follow this solution
regards,
Hello @Aswathy_K1
- Send a PUT request.
- Set the request URL to
https://your-api-url/Users/Users_PutById/{userId}
. - Include the header:
Content-Type: application/json
. - In the request body, specify the updated user data in JSON format.
- Use tools like cURL, Postman, or a programming language (e.g., Python with
requests
library).
Thanks & Cheers!!!
i tried in swagger but it is showing user not found.
i given the body like this
{“Name”: “test1”,
“Surname”: “”,
“UserName”: “test1232”
}
how can i do the 2nd step