Click here to Skip to main content
15,886,864 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I pass the formdata with
curl -X POST "https://localhost:44333/action"   -F "data={\"propery1\":\"value\"}"


I set the property is required, but it always prompts
The NewPassword field is required
.

What I have tried:

I have try to use also
-F "propery1=value"
Posted
Updated 27-Jan-21 22:14pm

1 solution

curl -X POST -F 'username=xxx' -F 'password=something' -F "data={\"propery1\":\"value\"}" https://localhost:44333/action
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900