الحمل والولادة







Installation

  1. Copy the files into your root directory
  2. Congratulations, you're done!

Configuration

There is a config.php file to which you get redirected after copying the files to your server. Adjust the configuration to your needs and then either delete the config.php file from your server or rename it using the wizard.

API

It's a RESTful API according to the specifications.
URL: http://yourdomain/surlapi
  • /version GET -> returns the version
  • /md5/[Value] GET -> returns the encrypted [Value]
  • /surl
    • /[ShortenedURL]/redirect GET -> redirects to the url
    • /[ShortenedURL]/log GET -> click log
  • /surl POST -> Create
    • url: The url
    • auth (optional): If the server requires authentication its the encrypted (md5) password
    • surl (optional): If the server allows choosable shorten
  • /surl DELETE -> Delete
    • surl: The shortened Url
    • auth (optional): If the server requires authentication its the encrypted (md5) password
Feel free to change the script to your needs and notify me if you have some improvements!












----------------------------------------------
----------------------------------------------

التالي
هذا هو أحدث موضوع.
التالي
yii2-minify-url-master 22-1-2016 - By gaalferov

0 التعليقات:

إرسال تعليق

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
اضغط على الإبتسامة ، اترك مسافة واحدة بين الكلمة
ثم عبر عن تعليقك :d.

 
عرب ويب
Top