How do I post data on Pastebin , using AJAX ?

Get help using Construct 2

Post » Fri Jul 21, 2017 5:38 pm

I'm working on a project , and i need some help on posting to pastebin , using AJAX , is it possible ?
I tried using "Post to url" , but i don't really understand how it works , where do i insert my api key and other parameters ?

Thanks.
B
4
Posts: 6
Reputation: 216

Post » Sat Jul 22, 2017 11:28 am

Anyone ?
B
4
Posts: 6
Reputation: 216

Post » Sat Jul 22, 2017 8:52 pm

Bump.
Feeling ignored.
B
4
Posts: 6
Reputation: 216

Post » Sun Jul 23, 2017 7:25 am

Please don't feel ignored. It may be just that no one has an answer for you.

It's not something I've seen asked before, Maybe a Goggle search will give you some tips.

Keep bumping daily, and hopefully someone may eventually have an answer for you.

I don't know about the rest of the world, but here in the UK schools have broken up and summer hols have begun, which may mean things slow down a bit here. But keep persevering.

Good luck.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
85
Posts: 5,412
Reputation: 59,008

Post » Sun Jul 23, 2017 9:25 pm

Bump bump.
Still interested.
B
4
Posts: 6
Reputation: 216

Post » Mon Jul 24, 2017 11:51 am

Bump , im still interested.
B
4
Posts: 6
Reputation: 216

Post » Wed Jul 26, 2017 6:26 am

This is probably out of the scope of this forum.

The pastebin API looks to be in php, so you'll probably want to learn php and how to use it. A cursory look showed that tutorialspoint may be a good source. I imagine everything else may make more sense after learning this.
My guess is you'd write a php script and put it in the files folder of your project.

Next you'll probably need to read up on Ajax and how to use it. If the scirra manual isn't helpful enough, find a normal Ajax guide online. It also may be useful to google search how to call a php file with Ajax.

That is where it looks like a mess to me. It's not a straightforward chunk of information to digest, but if you dig long enough you may work out a solution that you can translate over.
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991


Return to How do I....?

Who is online

Users browsing this forum: Elliott, kellehk, totoe and 33 guests