Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter headers in docs to make it less chatty #177

Merged
merged 1 commit into from
Aug 14, 2015

Conversation

timurvafin
Copy link
Member

  • Leave only 'Accept', 'X-Auth-Token' in request headers
  • Leave only Content-Type in response headers
  • Remove Origin from CURL request headers

* Leave only 'Accept', 'X-Auth-Token' in request headers
* Leave only Content-Type in response headers
* Remove Origin from CURL request headers
"request_content_type": "application/x-www-form-urlencoded",
"response_status": 201,
"response_status_text": "Created",
"response_body": "{\"user\":{\"id\":2,\"authentication_token\":\"hS-Wnfqrszhbgy_C8kEW\",\"email\":\"user2@example.com\"}}",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just wondering, do we hide responses containing authentication_token and authentication_token itself from loggers?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created issue for that #179, thank you!

@VladimirMikhailov
Copy link

👍

timurvafin added a commit that referenced this pull request Aug 14, 2015
Filter headers in docs to make it less chatty
@timurvafin timurvafin merged commit 2023644 into master Aug 14, 2015
@timurvafin timurvafin deleted the filter-headers-in-docs branch August 14, 2015 10:44
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.

2 participants