emeraldpay / emeraldpay/dshackle

Respond with error on invalid request

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
350
Forks
57
PR merge metrics
No merged PRs in 30d

Description

If a non-POST request is made to Proxy, then respond with 405 and a text message describing that a POST with application/json should be used instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Proxy request entry point and inspect how non-POST requests are currently handled. Exercise the endpoint with a non-POST request, then verify that it returns HTTP 405 with a text message directing clients to use POST with application/json; run the relevant request tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.