JSON vs Form POST

I’d say that both methods will work well
it’s important that you stay consistent across your APIs. The option I would personally choose is simply sending the content as application/json.

POST doesn’t force you to use application/x-www-form-urlencoded – it’s simply something that’s used a lot because it’s what webbrowsers use.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)