Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3641

How do these two patterns differ, with regards to API design? [closed]

$
0
0

I am learning API design, and based on the blog I am reading

GET http://www.nowhere.com/images/getImage?imageId=123

is an antipattern, and should be avoided.

while the blog does not mention this, I guess the preferred method would be

GET http://www.nowhere.com/images/123

How is the second method the preferred method? what exactly is wrong/limitation with the first method?


Viewing all articles
Browse latest Browse all 3641

Trending Articles