3

I'm trying to make a POST request to API v3.0, but I can not. Returns this error.

https://api.finder.healthcare.gov/v3.0/getCountiesForZip. Invalid HTTP status code 503

It's about CORS, but e tried all possible ways to request, following and enabling CORS, but nothing works

  • 3
    If you try the link in the browser, you get this message: The System is down at the moment. We're working to resolve the issue as soon as possible. Please try again later. – Andrew - OpenGeoCode Dec 16 '14 at 16:32
  • What are you including in the POST body? Are you including the appropriate Content-Type header? – Philip Ashlock Dec 18 '14 at 6:39
  • Andrew's comment is consistent with the HTTP status code being returned. – Phil Feb 16 '15 at 13:22
3

Make sure you include the Content-Type header and the XML for the request in the POST body.

When I try their example it seems to work fine and the HTTP header includes Access-Control-Allow-Origin: * which should work for CORS.

screenshot of RESTClient API call

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.