Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera113884yTry a REST api with swagger but every param and response is a string which will contain an undocumented json :/
And if you fetch a list of articles and want to put one in the cart, you cannot just send the id and quantity, no you need to send the complete object you got, with all 30 properties
And of cause, new versions can add properties. -
Often if it's not published, at least part of that reason is that they're too embarassed to do so 😂
-
Awlex177454yFound an api I wanted to use just like that, but the semi html with no coherence just made me want to give up
-
Feel you, have been attempting to wrap my head around this one API all day and am still confused as fuck.
There's weird shit all over the JSON responses and stuff -
Voxera113884y@no-oxygen I feel more like a killing mood, that would not only help me but save others ;)
-
Voxera113884y@superposition done right swagger is really good, but when every param is a string that will contain an undocumented json, well then its useless
-
4axi14yYou know what is worse ? API that returns response as string. That was returned from sql server via EF bindings as bloody XML and then abomination was put through JsonConvert.SerializeXmlNode. So if array has 1 element - congratulations, you get JObject not JArray... You can't make this sh** up.
Trying to reverse engineer an API.
Who on fucking earth thought it would be a good idea to let the response be JSON but.... THE VALUE OF THE MAIN INFORMATION THING/KEY PLAIN (UGLY AS HELL) HTML WITH EVEN GOOGLE TAGS BULLSHIT...
WHY?! THIS HURTS.
EHVIENZJVYENWBFFJSJZ 💀
rant