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

java - How to print docx and pdf? -

c# - How to use process.StartInfo.Arguments in command prompt? -

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