• 0
Sign in to follow this  
Sapo

Campos vacios en la respuesta de una busqueda

Question

Si realizo el get por consola con cURL recibo los resultados perfectamente, ahora si lo hago a traves de la api recivo algunos campos vacios.

Estoy trabajando en Java.

 

Meli meli = new Meli(12345, "blablabla");


final Response response2 = meli.get("/sites/MLA/search?category=MLA5782");
Object publi2 = gson.fromJson(response2.getResponseBody(), Object.class);
System.out.println(publi2);

esta es la respuesta:

 

{site_id=MLA, paging={total=0.0, offset=0.0, limit=50.0, primary_results=0.0}, results=[], secondary_results=[], related_results=[], sort={id=relevance, name=Más relevantes}, available_sorts=[{id=price_asc, name=Menor precio}, {id=price_desc, name=Mayor precio}], filters=[], available_filters=[]}

 

 

alguna idea de porque pasa esto ??

 

 



 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this