It works just with: PUT -F
Thanks
On Friday, March 1, 2024 at 9:49:18 PM UTC+4 David Trowbridge wrote:
> Parameters to PUT and POST operations in the API need to be specified as
> form-data, not query parameters or JSON. This can be done with the -F
> parameter to curl:
>
> curl -H "Authoriza
Parameters to PUT and POST operations in the API need to be specified as
form-data, not query parameters or JSON. This can be done with the -F
parameter to curl:
curl -H "Authorization: ..." -H "Accept: ..." -X PUT-F "email="
https:///api/users//
David
On Fri, Mar 1, 2024 at 10:45 AM Lyova Pogos