Skip to content

POST requests should respond with 201 status code #107

@paul121

Description

@paul121

Most of the POST requests respond with 200. I think that most of these should return a 201 instead, because they are "creating" a farm profile, access token, authorization link, etc. This would be a breaking change so might need to wait until the 2x endpoint is in place to add this.

One hesitation are the endpoints for farmOS records such as api/v1/farms/logs. What happens if the request only succeeds on some servers? Is this considered success?

Metadata

Metadata

Assignees

No one assigned

    Labels

    2xfarmOS 2x support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions