Hey Brandon, finally got a chance to try this & getting a 413 Client Error: Request Entity Too Large for url: https://webmonetization.org/api/receipts/verify error when sending a receipt :
413 Client Error: Request Entity Too Large for url: https://webmonetization.org/api/receipts/verify
response = requests.post( CONFIG.get('wm_org', 'API_URL', fallback='https://webmonetization.org/api/receipts/verify'), data=json.dumps(request['receipt']), headers= { 'Content-Type': 'application/json', } )
Any suggestions? Is the API documented somewhere in detail (OpenAPI or similar)?
Ah, the json.dumps is unnecessary & trips your limit protection - nice :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
A place to discuss all things Interledger
Hey Brandon, finally got a chance to try this & getting a
413 Client Error: Request Entity Too Large for url: https://webmonetization.org/api/receipts/verify
error when sending a receipt :Any suggestions? Is the API documented somewhere in detail (OpenAPI or similar)?
Ah, the json.dumps is unnecessary & trips your limit protection - nice :)