We have a RESTful API endpoint for DELETE request sitting behind Akamai. And the DELETE request contains some data in the payload. By default, Akamai strips off the payload in DELETE method when you only turn on 'Allow DELETE'. To allow Akamai to pass the payload in DELETE method, you have to: Enable 'Allow All Methods on Parent Servers' on … Continue reading Allow DELETE method pass payload in Akamai
Category: WWW
Nginx upstream key exchange issue
Continue with my previous post. Now it is about phase #3. Theoretically, it should be very straightward. All Nginx needs to do is just fowarding the Akamai reqeusts to the upstream. Right? But in real life, whatever can go wrong will go wrong 😦 In the testing, we always get '502 Bad Gateway' error. I … Continue reading Nginx upstream key exchange issue
Akamai protocol rewrite issue
I have been working on a API gateway project (Akamai + Nginx + Lua) for quite a few weeks. There are lots of things that I would like to write and share. This post is one of them. The high level architecture looks like this: Phases: Users send http(s) GET or POST requests to Akamai. Akamai … Continue reading Akamai protocol rewrite issue
Autosam Release
Autosam is a project that I created to automate the Akamai Cloudlets Edge Redirect from end to end, including add new rules, remove duplicated rules if there are any, push to staging, test in staging, push to production, test in production. Now it is available for download from my Github repo. Enjoy Autosam 🙂
hubot for Akamai
Previously, I wrote a python script to translate the Akamai error. I think the better way to do it is to build a robot to respond to users' requests. By using edgegride module, I wrote a Akamai module for hubot. Currently, I have added some of the diagnostic tool and ccu into it. It looks like this: … Continue reading hubot for Akamai