AspNetCore.Docs/aspnetcore/includes/http-repl/requires-body-options.md

290 B

  • -c|--content

    Provides an inline HTTP request body. For example, -c "{\"id\":2,\"name\":\"Cherry\"}".

  • -f|--file

    Provides a path to a file containing the HTTP request body. For example, -f "C:\request.json".

  • --no-body

    Indicates that no HTTP request body is needed.