Skip to content

Create with pre-defined primary key should not POST with /models/:id #176

@girak

Description

@girak

When creating a record with a pre-defined id (primary key) value,
the POST resource generated from Her was sent with an :id resource.

It should not have the id portion on the path.

Model.create(id: '1234')

resulted in an incorrect request path being sent to the service

POST /models/1234

It should be just the resource path with data in the body.

POST /models

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