Skip to content
WJunction - Webmaster Forum

Safelinkin.net API Help

Status
Not open for further replies.
Hey guys,
I've been trying to make the Safelinkin's API work for multiple links. I've tried all sorts of line break, but none were successful.

According to the API's documentation, I should have 2 direct links and 1 protected link containing the 2 direct links. However, its not the case.
You can understand what I mean when you open the following link in your browser.
Code:
http://safelinking.net/api?links-to-protect=http://www.filesonic.com/file/1732528611/Breaking.Bad.S04E06.720p.WEB-DL.DD5.1.H.264-TB.part1.rar<br>http://www.filesonic.com/file/1732534261/Breaking.Bad.S04E06.720p.WEB-DL.DD5.1.H.264-TB.part2.rar&enable-captcha=on&captcha-type=Fancy+captcha&link-password=1

Any help is highly appreciated.

Regards,
Kundu
 

2 comments

You need to 'urlencode' the line break. A line break, in a url encoded char, is represented by %0A.

Check it out in action:
Code:
http://safelinking.net/api?links-to-protect=http://www.filesonic.com/file/1732528611/Breaking.Bad.S04E06.720p.WEB-DL.DD5.1.H.264-TB.part1.rar%0Ahttp://www.filesonic.com/file/1732534261/Breaking.Bad.S04E06.720p.WEB-DL.DD5.1.H.264-TB.part2.rar
 
You need to 'urlencode' the line break. A line break, in a url encoded char, is represented by %0A.

Check it out in action:
Code:
http://safelinking.net/api?links-to-protect=http://www.filesonic.com/file/1732528611/Breaking.Bad.S04E06.720p.WEB-DL.DD5.1.H.264-TB.part1.rar%0Ahttp://www.filesonic.com/file/1732534261/Breaking.Bad.S04E06.720p.WEB-DL.DD5.1.H.264-TB.part2.rar

Thanks a lot LT. Much appreciated. :)
 
Status
Not open for further replies.

About the author

K
Active Member · Joined
Coding and Games
1,234
Messages
27
Reactions
48
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom