API Connector problem

---------------IN POSTMAN--------------------------
SENDING FIRST

POST
URL: sushichef.erpnext.com/api/method/login
Parameters :
usr: myuser
pwd: mypassword

responce -> (name:myname,page:mypage…)

AND SECOND

GET
URL: sushichef.erpnext.com/api/method/datalist
no parameters
no headers
responce -> (the data list)

-------------- NOW IN BUBBLE -------------

POST
URL: sushichef.erpnext.com/api/method/login
Parameters :
usr: myuser
pwd: mypassword

responce -> (name:myname,page:mypage…)


GET
URL: sushichef.erpnext.com/api/method/datalist
no parameters
no headers
responce -> (ERROR)

What do im not doing right!?

Hi Franco,

I think you might be trying to retrieve a list but the plugin only allows individual items for now - we select and return the first item in the array. If this is what you see, you have two options:

  1. Make the query in a way that only retrieves one element (the one you need)
  2. Wait a little longer - we are adding support for lists in the api connector in the following weeks.

File a bug report if you think this is a bug.

Oh that i didnt know it! thanks! but, trying with individual objecto dont work neither, i think because im not sending any authenticates data. anda mi API dont have a token, I dont know how postman works, but i think its working with some cache or something like that, because once posting the login i can get any data without parameters or headers. but un bubble i not like that, as i have seen.