Skip to content

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