Skip to content

Get requests REQUIRE application/vnd.api+json request header #774

Closed
@wayne-o

Description

@wayne-o

Description

According to this: #596 (comment)

GET requests should not require application/vnd.api+json header

Making a request to the reports example using a browser - so no application/vnd.api+json header - returns the following error:

errors: [
{
id: "7620a90e-8659-44a9-be11-50b82f6e1412",
status: "406",
title: "The specified Accept header value does not contain any supported media types.",
detail: "Please include 'application/vnd.api+json' in the Accept header values."
}
]
}```

So GET requests currently need to have the `application/vnd.api+json`  request header

AFAIK this is not how the system used to work?
...

## Environment

- JsonApiDotNetCore Version: 
- Other Relevant Package Versions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions