When I try to get headends without specifying a postal code, It tries to send me a text file instead of just the text (which is what happens when I specify a postal code).
I believe I currently have 2 headends associated with my account.
I believe you need to add a request: null to your submission.
If you're looking for another client implementation to see how other clients are submitting things, my Java client isn't a bad place to look. Even if you don't know Java, it should be relatively easy to read, especially if you're writing C#.
Slugger, thanks for the suggestion but I'm getting the same result with or without the "request":null.
I think I know what my problem is. I was assuming my settings from the old interface were transferred to the new system. In hindsight that seems like a silly assumption.
There's nothing about whether or not you specify "request":null. I'd rather that having "request" not included and "request":null not give different results because it with the json library I'm using they essentially mean the same thing. Again, that's just a preference. It's not hard to work around that but it could be simpler.
Slugger, thanks for the tip. Don't think I ever would have figured that out otherwise.
OK, the issue with needing to send a request:null may be a side effect of something else. I've added some debugging on the beta server, so please try again and let me know the time that you made the hit so that I can check the logs.
Try the get->headends with and without the request please.
I get all the headends?
I didn't notice the fact it was trying to return an attachment until I tried using the request.php form and instead of showing me the result, it downloads a file. My client ignores the header.