Search code examples
httpwebrequestpostman

BitStamp Error:"POST only Endpoint" not recognizing my post request


I'm not sure if this question is for SO, first I thought it was a problem from my code, but then I tried Postman and I got the same error response. I'm trying to use Bitstamp API to execute a buy order (or sell, it's the same), but the API returns "POST Only Endpoint", but I'm 100% sure that request.Method = "POST". I've implemented the Account Balance API call which is also POST and everything is fine with it. But for some I can't get the buy/sell API call to work.

Here are some pictures proofing that I'm indeed sending a POST request, after that a picture from POSTMAN. Has someone else got this problem? Code

PostMan


Solution

  • In Postman and in your code, the URL miss a '/' at the end. I've had the same issue. It was fixed by adding a '/' at the end of the URL.