[bug] : rest/1.2.2 password and smugmug.images.get
adam.zochowski
Registered Users Posts: 2 Beginner grinner
session generated with smugmug.login.anonymous
Using smugmug.images.get on any password protected album always returns bad user/password missing in rest/1.2.2
example ::
/services/api/rest/1.2.2/?method=smugmug.images.get&SessionID=xx&Password=badPassword&AlbumID=9111363&AlbumKey=Fk6kH
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail"><method>smugmug.images.get</method><err code="4" msg="invalid user (missing Password parameter)"/></rsp>
/services/api/rest/1.2.2/?method=smugmug.images.get&SessionID=xx&Password=test&AlbumID=9111363&AlbumKey=Fk6kH
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail"><method>smugmug.images.get</method><err code="4" msg="invalid user (missing Password parameter)"/></rsp>
----
This works properly with 1.2.1
/services/api/rest/1.2.1/?method=smugmug.images.get&SessionID=xx&Password=badPassword&AlbumID=9111363&AlbumKey=Fk6kH
not gzip friendly, returning pure response data
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail">
<err code="4" msg="invalid user (missing/incorrect album password)"/>
</rsp>
/services/api/rest/1.2.1/?method=smugmug.images.get&SessionID=xx&Password=test&AlbumID=9111363&AlbumKey=Fk6kH
not gzip friendly, returning pure response data
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="ok">
<method>smugmug.images.get</method>
<Images>
<Image id="607240438" Key="L3ntS"/>
</Images>
</rsp>
Kind regards
Adam Żochowski
Using smugmug.images.get on any password protected album always returns bad user/password missing in rest/1.2.2
example ::
/services/api/rest/1.2.2/?method=smugmug.images.get&SessionID=xx&Password=badPassword&AlbumID=9111363&AlbumKey=Fk6kH
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail"><method>smugmug.images.get</method><err code="4" msg="invalid user (missing Password parameter)"/></rsp>
/services/api/rest/1.2.2/?method=smugmug.images.get&SessionID=xx&Password=test&AlbumID=9111363&AlbumKey=Fk6kH
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail"><method>smugmug.images.get</method><err code="4" msg="invalid user (missing Password parameter)"/></rsp>
----
This works properly with 1.2.1
/services/api/rest/1.2.1/?method=smugmug.images.get&SessionID=xx&Password=badPassword&AlbumID=9111363&AlbumKey=Fk6kH
not gzip friendly, returning pure response data
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="fail">
<err code="4" msg="invalid user (missing/incorrect album password)"/>
</rsp>
/services/api/rest/1.2.1/?method=smugmug.images.get&SessionID=xx&Password=test&AlbumID=9111363&AlbumKey=Fk6kH
not gzip friendly, returning pure response data
<?xml version="1.0" encoding="utf-8"?>
<rsp stat="ok">
<method>smugmug.images.get</method>
<Images>
<Image id="607240438" Key="L3ntS"/>
</Images>
</rsp>
Kind regards
Adam Żochowski
0
Comments
I've fixed it internally...I'll post in this thread when it goes live.
Thanks,
David
SmugMug API Developer
My Photos
Martin
SmugMug API Developer
My Photos