Created
August 11, 2014 10:13
-
-
Save ZoomQuiet/065f6688b8982f101ddb to your computer and use it in GitHub Desktop.
openresty cosocket for googleapis.com/urlshortener/v1/url
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
| curl https://www.googleapis.com/urlshortener/v1/url \ | |
| -H 'Content-Type: application/json' \ | |
| -d '{"longUrl": "http://www.google.com/"}' |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
base suggest:
openresty/lua-nginx-module#178 (comment)
and:
HttpLuaModule - Nginx Community
Posting to goo.gl from Android - Stack Overflow
i fixed all ;-)
append in nginx.conf:
fixed in lua :
testing from China inside GFW: