neofutur / gwgd

gw.gd URL Shortener
http://gw.gd
MIT License
8 stars 2 forks source link

API Documentation #2

Closed linuxman closed 9 years ago

linuxman commented 11 years ago

Hello,

Is there any API documentation?, I have an installation of Stikked and when I make a short URL is not formed correctly.

Stikked me back a URL similar to this:

http://gw.gd/QJho<br /> <b>Notice</b>: Undefined index: HTTP_AC

Not sure if the problem is gw.gd or stikked. Is why I ask if they have made changes to the API gw.gd.

Greetings.

claudehohl commented 11 years ago

Hi Neofutur,

We have indeed a problem with the url shortener. It says:

$ curl http://gw.gd/api.php?long=http://bla http://gw.gd/JEvB
Notice: Undefined index: HTTP_ACCEPT_ENCODING in /home2/virtuals/gw.gd/html/inc/Casimir.php on line 341

Reference: https://github.com/claudehohl/Stikked/issues/50

neofutur commented 9 years ago

should be fixed in latest