Forums » Bugs & Problems Search

Can't create catalog, issue in Java with Mutlipart HTTP New Reply

Author Post
Posts: 1
Registered: Dec 23, 2010

Hi. I'm using this code:

http://pastebin.com/S856ytxq

and all I got is a 400 with this JSON in response {"response": {"status": {"version": "4.2", "code": 4, "message": "api_key - Missing required parameter: "api_key""}}}

I've tried different way to post the expected parameters but I can't manage to make it work. Anyone has a tip? Thanks.

Posts: 713
Registered: Sep 08, 2008

ildella - there's already a Java client that supports catalog updates. It is here:

http://code.google.com/p/jen-api/

I recommend that you use this client instead of rolling your own.

Paul

Reply to this Thread

You must log in to post a reply.