News for hackers. Stuff that matters.
Re:Best practices for REST API design (2020) by chrisandchris on Tuesday February 23, 2021 @06:32AM (#26236106)
While I basically agree, there‘s a difference between „always send numbers as string“ and „send something that looks like a number but is actually a string as a string“.

Why should i send a dimension as a string? How am I going to calculate the volume from 3 strings?

Re:Best practices for REST API design (2020) by Alex3917 on Tuesday February 23, 2021 @08:53AM (#26237210)
> Why should i send a dimension as a string?

You shouldn't because a dimension is a number. Something 4 feet long is twice as long as something 2 feet long.