The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

API

blockablocka Member
in Help edited March 2009
Maybe i'm missing something here....
I see in the docs that that the api endpoint is https://example.foxycart.com/api but I can't see anywhere in that entry how to make the rest call...
I tried
https://example.foxycart.com/api?api_token={key}&api_action=customer_get&customer_email={email}

and I get a response:

<foxydata>
<result>ERROR</result>
?
<messages>
<message>Required API Token Missing (api_token)</message>
<message>Required API Action Missing (api_action)</message>
</messages>
</foxydata>
Comments
  • brettbrett FoxyCart Team
    Sorry, we just changed the API so it only accepts POST, not GET.
    We felt that allowing requests by GET would open up a lot of potential security issues because GET requests tend to get logged, cached, or otherwise stored in more places than POST data does.

    If you feel this is a bad decision we'd be happy to discuss, but hopefully it's not too big a deal for anybody.
Sign In or Register to comment.