We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summary: When calling unsupported http method across services, the http status code of 404 is used.
eg. DELETE/POST /authorizations - this can give 405 status code as it is unsupported HTTP method
Severity: Low
Priority: Medium
Expected Behavior http status of 405 - unsupported HTTP method for the request was used
Steps to Reproduce
curl --location --request DELETE 'http://dev1-transaction-requests-service.mojaloop.live/authorizations/5851581a-5e75-4622-9e2e-38bd9b48c166?authenticationType=OTP&retriesLeft=2&amount=102¤cy=USD' \ --header 'Accept: application/vnd.interoperability.transactionRequests+json;version=1' \ --header 'Content-Type: application/vnd.interoperability.transactionRequests+json;version=1.0' \ --header 'Date: Wed, 06 May 2020 09:09:14 GMT' \ --header 'fspiop-source: payerfsp' \ --header 'fspiop-destination: payeefsp' \ --header 'fspiop-signature: {"signature":"iU4GBXSfY8twZMj1zXX1CTe3LDO8Zvgui53icrriBxCUF_wltQmnjgWLWI4ZUEueVeOeTbDPBZazpBWYvBYpl5WJSUoXi14nVlangcsmu2vYkQUPmHtjOW-yb2ng6_aPfwd7oHLWrWzcsjTF-S4dW7GZRPHEbY_qCOhEwmmMOnE1FWF1OLvP0dM0r4y7FlnrZNhmuVIFhk_pMbEC44rtQmMFv4pm4EVGqmIm3eyXz0GkX8q_O1kGBoyIeV_P6RRcZ0nL6YUVMhPFSLJo6CIhL2zPm54Qdl2nVzDFWn_shVyV0Cl5vpcMJxJ--O_Zcbmpv6lxqDdygTC782Ob3CNMvg\",\"protectedHeader\":\"eyJhbGciOiJSUzI1NiIsIkZTUElPUC1VUkkiOiIvdHJhbnNmZXJzIiwiRlNQSU9QLUhUVFAtTWV0aG9kIjoiUE9TVCIsIkZTUElPUC1Tb3VyY2UiOiJPTUwiLCJGU1BJT1AtRGVzdGluYXRpb24iOiJNVE5Nb2JpbGVNb25leSIsIkRhdGUiOiIifQ"}' \ --header 'fspiop-uri: /transactionRequests' \ --header 'fspiop-http-method: DELETE'
Specifications
Tasks:
PRs:
Notes:
The text was updated successfully, but these errors were encountered:
Thanks Amar. I'm marking this as a feature request / story and not as a bug, since this wasn't ever implemented / prioritized..
Sorry, something went wrong.
@elnyry @rmothilal @mdebarros Talked to Rajiv about this, and we're thinking to make an extension to handle it, similar to what's done in this 404 handler: https://hapi.dev/tutorials/routing/?lang=en_US#-404-handling Let's discuss this asap.
aenns
No branches or pull requests
Summary:
When calling unsupported http method across services, the http status code of 404 is used.
eg. DELETE/POST /authorizations - this can give 405 status code as it is unsupported HTTP method
Severity:
Low
Priority:
Medium
Expected Behavior
http status of 405 - unsupported HTTP method for the request was used
Steps to Reproduce
Specifications
Tasks:
PRs:
Notes:
The text was updated successfully, but these errors were encountered: