Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
|
| 16 Dec 2014 08:39 PM |
var object = {"userId":74328379,"deleteAllPostsOption":false,"rolesetId":8103254,"selectedGroupId":1223714} $.ajax({ type: 'POST', url: '/My/Groups.aspx/ExileUserAndDeletePosts ', contentType: 'application/json; charset=utf-8', dataType: 'json', data: JSON.stringify(object) });
I was just curious how you can post request payload.
This should work, it's just it outputs 500 Internal Server Error.
Any help?
Paying my crimsonwrath if you can get it to work. |
|
|
| Report Abuse |
|
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
|
| 16 Dec 2014 08:41 PM |
@Makemyday
That wouldn't even work, your variable is unidentified. |
|
|
| Report Abuse |
|
|
|
| 16 Dec 2014 08:43 PM |
var mybigd = 21
console.log(mybigd)
if widths posts here im calling racism
cause its been like an hour & he still hasnt replied to my message |
|
|
| Report Abuse |
|
|
booyey
|
  |
| Joined: 09 Jan 2010 |
| Total Posts: 4083 |
|
|
| 16 Dec 2014 08:44 PM |
| if i cant read what someones saying, it doesnt belong on lmad |
|
|
| Report Abuse |
|
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
|
| 16 Dec 2014 08:44 PM |
i'm great with javascript, just not so good with stuff like this.
|
|
|
| Report Abuse |
|
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Loblaws
|
  |
| Joined: 03 Apr 2008 |
| Total Posts: 61908 |
|
|
| 16 Dec 2014 08:58 PM |
request payload is FormData pretty sure11
Loblaws is 4 kool ppl |
|
|
| Report Abuse |
|
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|
Yealtor
|
  |
| Joined: 20 May 2014 |
| Total Posts: 2259 |
|
| |
|