Skip to content

Add integration test for creator route returning 405 for unsupported methods #377

@Chucks1093

Description

@Chucks1093

Summary
Creator routes should return a 405 Method Not Allowed response when called with an unsupported HTTP method. An integration test for this case confirms the correct status code and an Allow header listing supported methods.

Scope

  • add an integration test that sends a POST request to a GET-only creator route
  • assert the response status is 405
  • assert the response includes an Allow header listing the supported methods

Acceptance Criteria

  • an unsupported method returns a 405 response
  • the response includes a correct Allow header
  • the test covers at least one creator list and one creator detail route

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions