Closed Bug 1013440 Opened 11 years ago Closed 11 years ago

/mozpay/v1/api/pay/ returns HTML on error

Categories

(Marketplace Graveyard :: Payments/Refunds, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2014-05-27

People

(Reporter: scolville, Assigned: mstriemer)

References

Details

(Whiteboard: [qa-])

Making a POST to /mozpay/v1/api/pay/ returns HTML on error Would be nice to get JSON back and information about the error too if possible.
That is when POSTING JSON and setting Accept headers for JSON.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Reopening, I thought I'd do this along with the other bug but this is done and the other stuff isn't. https://github.com/mozilla/webpay/pull/466
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2014-05-27
You need to log in before you can comment on or make changes to this bug.