Skip to content

Conversation

@hamchapman
Copy link
Contributor

We have to send post auth data in HTTP Body

🙅

# Current implementation
curl -XPOST 'https://circleci.com/auth/pusher?circle-token=foobar?socket_id=123456.87654321&channel_name=private-test'

# This also fails
curl -XPOST 'https://circleci.com/auth/pusher?circle-token=foobar&socket_id=123456.87654321&channel_name=private-test'

🙆‍♀️

curl 'https://circleci.com/auth/pusher?circle-token=foobar' \
  --data 'socket_id=123456.87654321&channel_name=private-test'

Replaces #20

We have to send post auth data in HTTP Body

## 🙅

```sh
# Current implementation
curl -XPOST 'https://circleci.com/auth/pusher?circle-token=foobar?socket_id=123456.87654321&channel_name=private-test'

# This also fails
curl -XPOST 'https://circleci.com/auth/pusher?circle-token=foobar&socket_id=123456.87654321&channel_name=private-test'
```

## 🙆‍♀️

```sh
curl 'https://circleci.com/auth/pusher?circle-token=foobar' \
  --data 'socket_id=123456.87654321&channel_name=private-test'
```
hamchapman added a commit that referenced this pull request Jan 24, 2016
POST Auth Parameter with HTTP Body
@hamchapman hamchapman merged commit 3005c21 into master Jan 24, 2016
@hamchapman hamchapman deleted the ngs/patch-1 branch January 24, 2016 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants