GET API request

Hello
I’m trying to get an API request, I have such a request

curl -u ACCOUTID:APIKEY https://api.youcanbook.me/v1/ACCOUNTID/bookings?fields=answers

in my account I have bookings with answers fields

but in request I get empty object http://prntscr.com/oz6gq6

what am I doing wrong?

Your fields should looks like= ?fields=answers,answers.code,answers.string

I hope this helps.

1 Like

Thank a lot!!! its save my day!

1 Like