I try to update the data of json file and use the command curl -i -H "Content-Type : Application/json" -X POST http://127.0.0.1:5000/courses but I got an error something like - Invoke-WebRequest : Missing an argument for parameter 'InFile'. Specify a parameter of type 'System.String' and try again. At line:1 char:6
- curl -i -H "Content-Type : Application/json" -X POST http://127.0.0.1 ...
-
~~
- CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
- FullyQualifiedErrorId : MissingArgument,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Please correct me where I'm wrong.