Skip to content

getOf (path) does not work as expected when request contains body content #27

@fkhosrow

Description

@fkhosrow

Description

When receiving a GET request with body content, the body content is empty.

Repro steps

Example:
for route in getOf (path "/pets" >=> request (fun authenticatingUser -> __.GetUsers (authenticatingUser) )
authenticatingUser information is sent as request body. It is empty. pathscan does not work either.

  1. Step A

  2. Step B

Expected behavior

Request content body should not be empty.

Actual behavior

Request content body is empty.

Known workarounds

I am looking for suggestions to get around this.

Related information

  • Windows
  • Latest version
  • .NET Framework v4.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions