This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dig cname APIMAIL.YOURDOMAIN.com | |
| # should return "sendgrid.net" | |
| dig cname smtpapi._domainkey.YOURDOMAIN.com | |
| # should return "dkim.sendgrid.net" | |
| dig cname smtpapi._domainkey.APIMAIL.YOURDOMAIN.com | |
| # should return "dkim.sendgrid.net" | |
| dig a o1.APIMAIL.YOURDOMAIN.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install libreadline-dev libncurses5-dev libpcre3 libpcre3-dev libssl-dev perl | |
| sudo apt-get build-dep nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget http://agentzh.org/misc/nginx/ngx_openresty-VERSION.tar.gz | |
| tar -zxvf ngx_openresty-VERSION.tar.gz | |
| cd ngx_openresty-VERSION/ | |
| ./configure --prefix=/opt/openresty --with-luajit --with-http_iconv_module -j2 | |
| make | |
| make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| server_name XXX.YYY.proxy.3scale.net; | |
| underscores_in_headers on; | |
| ... | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo /opt/openresty/nginx/sbin/nginx -p /opt/openresty/nginx/ -c /opt/openresty/nginx/conf/YOUR-CONFIG-FILE.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| X-3scale-matched-rules: /v1/word/{word}.json, /v1 | |
| X-3scale-credentials: app_key=APP_KEY&app_id=APP_ID | |
| X-3scale-usage: usage[version_1]=1&usage[word]=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="/active_docs/application.js" ></script> | |
| <link href="/active_docs/application.css" media="screen" rel="stylesheet" /> | |
| <div class='api-docs-wrap'></div> | |
| <script> | |
| $(function(){ ThreeScale.APIDocs.init([]); }); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GET /v1/words/{word}.json?app_id={app_id}&app_key={app_key} | |
| POST /v1/words/{word}.json?value={value}&app_id={app_id}&app_key={app_key} | |
| GET /v1/sentence/{sentence}.json?app_id={app_id}&app_key={app_key} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #three-scale .dashboard_bubble |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="{{ urls.signup }}?{{ service | to_param }}">Signup to {{ service.name }}</a> |