DEV Community

Discussion on: What case should your API request/response be?

Collapse
 
danoseun profile image
'Seun Somefun

I have never really given this much thought but now that you have mentioned it, I think it's better to be consistent with whichever case one eventually chooses.

Collapse
 
imichaelowolabi profile image
Michael Owolabi

Definitely, Consistency matters a lot!

Have you seen any API request-response object in Pascal or Kebab case before?

Collapse
 
danoseun profile image
'Seun Somefun

Those are quite rare and I have personally not come across them before or maybe I do not remember.

Thread Thread
 
imichaelowolabi profile image
Michael Owolabi

I have also not seen any API in that case before.