How do I use the other AJax Verbs

Get help using Construct 2

Post » Thu May 01, 2014 3:34 am

Hey all,

I've done stuff with the ajax plugin and POSTing to URLS and it works great. I'm now starting on writing a RESTful web service for my game to talk to when I released I may not be able to HTTP GET and DELETE to a URL.

The only action I see is post so I think I may be out of luck. Any other guesses?

Thanks!
B
45
S
11
G
7
Posts: 144
Reputation: 6,419

Post » Thu May 01, 2014 3:37 am

DERP (I need to go to bed). Well I see that "Request URL" will get me the GET I was looking for but I think I still may have to create a workaround for DELETE. Unless someone has an idea.

Could I possibly use the execute JavaScript action?
B
45
S
11
G
7
Posts: 144
Reputation: 6,419

Post » Tue May 13, 2014 1:05 pm

Beta 169 Notes:

Add
AJAX: new 'method' parameter in 'Post' action, so you can specify other methods like PUT, DELETE, etc.


Thanks @Ashley!!! Nice you know you got my back. ;)
B
45
S
11
G
7
Posts: 144
Reputation: 6,419


Return to How do I....?

Who is online

Users browsing this forum: apalm1341, blissfulwizard, phoenix1291 and 18 guests