Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
comm_ai:javascript [2017/05/30 21:03]
grzegorz.siehien [call.menu(object)]
comm_ai:javascript [2017/06/17 01:07] (current)
grzegorz.siehien [http.get/post/put/delete()]
Line 179: Line 179:
   data = http.get('​http://​example.com/​data.json'​)   data = http.get('​http://​example.com/​data.json'​)
   ​   ​
-  data = http.get('​http://​example.com/​user?login=test')+  data = http.get('​http://​example.com/​user', { 
 +        params: { 
 +          ​login: 'adam' 
 +        }});
   ​   ​
   data = http.post('​http://​example.com/​abc',​ {   data = http.post('​http://​example.com/​abc',​ {
  • Show page