0

GET or POST?

Hi There;

I'm trying to access GeoPlanet using WCF in .Net 3.5.

When I use a GET method I get the error: The remote server returned an error: (406) Not Acceptable.

When I use a POST method I get: The remote server returned an error: (405) Method Not Allowed.

Obviously I'm doing something wrong but it would help to know whether I should be using GET or POST in the first place.

Any suggestions about possible causes of the error would also be greatly appreciated.

Thanks in Advance.

by
2 Replies
  • Answered the GET/POST question myself. I thought I'd read the doco thoroughly but then I found the answer on the home page. It's GET for anyone looking here.
    0
  • Confirmed: The API is accessed via HTTP GET.

    (and only GET)

    TB
    0
This forum is locked.

Recent Posts

in GeoPlanet General Discussion