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

Popular posts from this blog

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -

javascript - How to get D3 Tree link text to transition smoothly? -