Api connector POST Eyeson

Hello,

I’m having trouble linking my Bubble app to a video chat service called Eyeson.

It seems that to create a “room” it would be enough to do a Post rooms/

Here is the API doc:

POST /rooms # create room a new room or join an existing by id.
HEADERS Authorization
RESPONSES 201 CREATED, 400 BAD REQUEST

https://eyeson-team.github.io/api/api-reference/#eyeson-room

And here are my settings, I tried a bit of everything, but I always get a different error message.

image

image

If anyone has any advice, that would be great.

Thanks,
Clement

Probably better to use URL parameters like
/rooms?user%5Bname%5D=[user]
the documentation is not well made.
But it’s also possible that you may just need to add header content-type with value application/x-www-form-urlencoded

Thank you Jici !

I found the solution !

Like you said, I had to use a header content-type and also use the Body with Json :

{
“user”: {
“name”: “name”
}
}

And lets go :slight_smile:

Thank you !

1 Like