ocapmod / ocap-legacy

OCAP is a game-changing tool that allows the recording and playback of operations on an interactive (web-based) map.
Other
38 stars 42 forks source link

POST upload #14

Closed skarphet closed 8 years ago

skarphet commented 8 years ago

Any plans for supporting POST or PUT for uploading the JSON file? Makes things a lot easier for some people.

If you have no plans I'll see if I can't implement it and send a pull request.

JamieGoodson commented 8 years ago

I have something planned that will make the JSON upload process easier.

skarphet commented 8 years ago

Great! Any ETA? I figure I can just make our own changes for now so we can start using it.

JamieGoodson commented 8 years ago

Not sure on ETA, sorry.

Just to confirm, are you referring to uploading the JSON file from game-server to web-server (using POST)?

skarphet commented 8 years ago

Yeah, that's correct. Just as an attachment. I worked on it but had problems using HttpAsync, but I'll continue looking into it. Interested in me sending a pull request with it or should we just keep it in our own repository?

JamieGoodson commented 8 years ago

Sorry, I just saw your reply. I managed to get this working, see bec7380fc. Will provide a release soon.

skarphet commented 8 years ago

Awesome! We've used it for one operation so far and it's working really well (before bec7380)

Looking forward to the new release!

JamieGoodson commented 8 years ago

Glad to hear it. By all means, feel free to create pull requests in the future :)