Groups
Groups
Sign in
Groups
Groups
Fotolia API
Conversations
About
Send feedback
Help
getMedia
11 views
Skip to first unread message
Steve
unread,
Oct 24, 2009, 9:47:50 PM
10/24/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fotolia API
I have an active API account (Business)
I post to loginUser and receive
<methodResponse><params><param><value><struct><member><name>session_id</
name><value><string>180ba52787719f14fe560ba5a042af20</string></value></
member></struct></value></param></params></methodResponse>
I post to getMedia
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
<methodName>xmlrpc.getMedia</methodName>
<params>
<param>
<value>
<string>KEY_REMOVED</string>
</value>
</param>
<param>
<value>
<string>180ba52787719f14fe560ba5a042af20</string>
</value>
</param>
<param>
<value>
<int>7730319</int>
</value>
</param>
<param>
<value>
<string>M</string>
</value>
</param>
</params>
</methodCall>
And receive an invalid SessionID message?
Why?
As you can see the session Id sent is the same as that returned from
loginUser.
Can anyone help?
Steve
Olivier Sirven
unread,
Oct 25, 2009, 6:13:21 AM
10/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fotol...@googlegroups.com
Hi Steve,
The HTTP client you're using to send your XML-RPC requests has to
support cookies.
Regards,
Olivier
Reply all
Reply to author
Forward
0 new messages