node.js - Set content type in restangular for put request globally -
i using nodejs server , restangular(angular framework) build restfull api.
when make post request, form data sent in request payload(body).
but when make put request, form data appended url query string.
how can configure restangular send form data inside body similar post request?
use customput() instead of put().
baseobj.customput(newobj).then(callbackfunction);
Comments
Post a Comment