Skip to content

Json decode only responses with json content type #44

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

Merged
merged 2 commits into from
Jun 13, 2014

Conversation

schneidermichal
Copy link
Contributor

When I wanted to get code of JSON file (that exists in repository) using blob API method, I got parsed JSON, but I wanted plain text...
Url: projects//repository/commits//blob?filepath=

When I wanted to get code of JSON file (that exists in repository) using blob API method, I got parsed JSON, but I wanted plain text...
Url: projects/<project id>/repository/commits/<sha>/blob?filepath=<some json file>
@m4tthumphrey
Copy link
Contributor

Change it and I'll merge it! ;)

@schneidermichal
Copy link
Contributor Author

Done! ;-)

m4tthumphrey added a commit that referenced this pull request Jun 13, 2014
Json decode only responses with json content type
@m4tthumphrey m4tthumphrey merged commit 3f0e7df into GitLabPHP:master Jun 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants