Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by kunal ( 12 years ago )
params = {userId:117,
setting:{
settingId: 16,
numberOfWorkouts: "All",
numberOfPpLines: "6"

} }







Ext.Ajax.request({
   url: 'http://localhost:8089/formulator-service/editSettings',
   actionMethods: {
    read   : 'POST'
   },
   headers: {
    'Accept': 'application/json',
    'Content-Type': 'application/json'
   },

   params:Ext.JSON.encode(params),

   success: function(result) {
    console.log(result)
   },
   failure: function(res){
   console.log(res)
   }
   
   })

 

Revise this Paste

Parent: 69508
Your Name: Code Language: