Re: Help with 400 Bad Request
Joe Martinez <[email protected]> Sat, 14 Feb 2015 23:52:53 -0800
| Newsgroups | gmane.comp.audio.musicbrainz.devel |
|---|---|
| Message-ID | <CAD0McProQkc=gddK_pngi2MpLmFh1utGmRVB8q8vRUfo8hm1jw@mail.gmail.com> |
Are you sure about that? I checked the code, and I can't seen how that would be happening. I'm not even writing the document to a file. I'm creating it as a string in memory and sending it directly from memory. Also, that path that you mentioned looks like a Unix path, and I'm on a Window system, so even if I was, it would start with "C:\", rather than "/tmp/". Could you be looking at the wrong request? -Joe On Sat, Feb 14, 2015 at 11:43 PM, Ulrich Klauer <[email protected]> wrote: > Joe Martinez write: > > > ok, done again > > OK, found the right place where to look. :-) Currently, you are not > sending an XML document, but a file name. I.e. the request body is > something like "/tmp/gBqzJCJkqK" when you probably want to send the > contents of that file. > > You should fix that, then try again so that we can catch any other > problems while the debugging code is still there. > > Ulrich > > > _______________________________________________ > MusicBrainz-devel mailing list > [email protected] > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel > _______________________________________________ MusicBrainz-devel mailing list [email protected] http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel