Open oskarrough opened 6 years ago
Hmm, disconnect
does seem to provide the correct header according to https://www.discogs.com/developers/#page:home,header:home-versioning-and-media-types I will have to try without the additional accept headers I provide for plain json and images. Not much time to work on bug unfortunately, so pull requests are welcome!
Sure!
I tried without the additional headers but I can't get it to return anything but discogs/bbcode. I wonder if it works at all from the Discogs API or if I'm using the correct syntax?
Failed attempt to get a plain text profile
field:
curl -s --header "Accept: application/vnd.discogs.v2.plaintext+json" https://api.discogs.com/artists/15885
Also asked here https://www.discogs.com/forum/thread/743611?page=1#7615721
I found help in the Discogs forum! It turns out that profile
field is discogscode no matter the chosen format. Instead you get a new field: profile_html
or profile_plaintext
respectively.
Hi @bartve, I added a pull request to try and clarify how this works and close this out. What do you think?
Hi, I'm trying to use the
setConfig
method to set the output format but it always returns the "Discogs" format.Am I doing it wrong? Here's a test case: