Get /weather without X-PAYMENT
When calling a service without a valid payment attached (meaning there no X-PAYMENT
header is set), the server responds with HTTP 402 error providing pricing and payment details:
Last updated
When calling a service without a valid payment attached (meaning there no X-PAYMENT
header is set), the server responds with HTTP 402 error providing pricing and payment details:
Last updated
This response is described here with Payment Required Response
& payment Requirements
. In our project, we have two objects to deal with it : PaymentRequired
& PaymentRequirement
.