Domanda

I try to join in campfire room with campfire room api with curl.

I try:

curl -v -H "Content-Type: application/json" -i --user my_token:my_password https://camp111.campfirenow.com/room/test_room/join.json

I got response:

<html><body>You are being <a href="https://camp111.campfirenow.com/login">redirected</a>.</body></html>

How can i correctly join to campfire room with curl?

Thank you.

È stato utile?

Soluzione

You should replace test_room with your digital roomId and also you have to specify at least empty -d parameter to set POST method in headers and you may omit -i and -H parameters for the join request.

Remember that you can join to room invited accounts only.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top