Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unsupported payload message when JSON object body is empty {} #427

@pawsad

Description

@pawsad
  • Application version: 16.0.1
  • Operating System (Platform and Version): Windows 10 20H2

Expected Behavior
The application send my request without any error message.

Actual behavior
The application is not sending my request, the error message is:

The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
Unsupported payload message

The message is confusing, suggests the service is unavailable or does not support the format, but the application is not trying to send the request. It works fine in addition to chrome "Advanced REST client" and in the Postman, for example.

To Reproduce
Set the POST body to an empty JSON object and try sending the request:

{}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions