AkamaiOPEN-edgegrid-node icon indicating copy to clipboard operation
AkamaiOPEN-edgegrid-node copied to clipboard

[#33] handle 413 error

Open jorgesosa opened this issue 7 years ago • 1 comments
trafficstars

This solves #33 by processing API responses and making sure they are JSON. When an HTML response is encountered, the code builds a standard response and populates the title and httpStatus with the appropriate values, leaving everything else empty.

@dshafik can you review? Thanks!

jorgesosa avatar Mar 15 '18 12:03 jorgesosa

@dshafik this also fixes #26

jorgesosa avatar Mar 15 '18 17:03 jorgesosa

Hi @jorgesosa,

Thank you for creating the PR. It's been some time since it got created, and since then we migrated to axios and therefore it's no longer working.

I believe there might be easier fix for this issue, so I will to close this issue and take it from here.

Best Regards

majakubiec avatar Jan 09 '23 14:01 majakubiec

Thanks @majakubiec!

jorgesosa avatar Jan 09 '23 14:01 jorgesosa