ppy / osu-api

Public API for accessing osu! related data.
320 stars 16 forks source link

get_replay only works on GET requests #200

Open dogwong opened 7 years ago

dogwong commented 7 years ago

Whatever parameters I used and it just simply returns {"error":"Replay not available."} and this costs me few days to find out the reason... (stupid me...)

Because I'm using POST request while other endpoints are just working fine

omkelderman commented 7 years ago

imo the real bug here is that all those other endpoints (aparently) even respond to a POST request. Doesnt make any sense to me whatsoever xD

dogwong commented 7 years ago

yep... at first I thought it was just my problem, Eg wrong beatmap id or user id, or even because of aged records..... or my pp is not high enough to use this function.... so I tried to use the top player from a beatmap and this error remains....

Until I grab the same request and type it in Chrome's address bar and press enter :neutral_face: