I've checked what the curl library is doing. If the data string begins with '{', json is assumed, otherwise x-www-form-urlencoded. So in your case it should be json. Are you using the latest Zorro version? The curl library was updated in that version, maybe the previous version behaved differently.