What seems to be the problem? Seems like you're wanting to upload a lot of data it you're trying put and post.
Not so much; I was trying it out with regular text files, small ones. But those requests don't work but get does.
I do think I understand why that's the case push and post although good, if I think about it outside MV -- it'd be referring to someone else's server I guess?
Yeah, the server you're sending the request to needs to be setup to respond to their requests. The most common ones are going to be GET and POST, but PUT is designed to upload/update information, as I recall, whereas POST is a more generic, large amount of information request. GET is limited to the maximum length of a URL, which isn't usually all that long, as I recall.
Alright; that means I'll just have to change the implementation. Not messing with any more of that stuff for now. Thanks for the information @Zalerinian
No problem. What are you trying to send data to, if I may ask?
I was simply trying to push data back to a file in the game folder. But, that didn't work out so well. I was trying to simulate what it would be like on the web. But looks like I should figure out a better way to store stuff on the web.
Does it have to be a file that the webserver has access to? By default, all files are stored in the brower's local data, so save files stay on the device that the game is played on. If you want it to be done via a file, then POST would probably be the way to go. If you're trying to submit the data to a PHP file, then it'd be real easy to do that.
Well, it was going to be just basic JSON files, but I might just use the local storage instead. The idea was to unlock the ability to deal with files on the web for RMMV. But I think using the local storage would be easier. But you definitely can't have files that go over the local storage limit in that case.
That's true. But if you want to send files over the internet to be stored on the server, a simple PHP script can manage what you want to handle the post request. If you'd like, I can make a sample page to show you that accepts a POST request. I'd probably just make it re-display the request's body for example sake.
That'd be nice I could use that information for future projects. Maybe I can make something like this work.
Separate names with a comma.