<< Back to Map Development Forum   Search

Posts 1 - 5 of 5   
you must POST some JSON to" how do you do that?: 7/30/2014 23:03:04

rave
Level 52
Report
Hi guys,

i want to use the "Set map details API".

The wiki tells me: "To enter the details of your map without using the UI, you POST some JSON to http://warlight.net/API/SetMapDetails"

but how do i POST JSON to that URL? Is there a tool or something?

thanks
you must POST some JSON to" how do you do that?: 7/30/2014 23:08:26

Fizzer 
Level 58

Warzone Creator
Report
An API is a tool used from a programming language. What programming language are you using?

JSON is a data interchange format. You can download a JSON library for your language.

POST means to make an HTTP request using the POST method. If you look up the APIs for your langauge's http request system, you'll find a way to set it to POST and then a way to attach your own data.

Edited 7/30/2014 23:08:56
you must POST some JSON to" how do you do that?: 7/30/2014 23:12:36

rave
Level 52
Report
im not using a specific language, since i dont have any usable programming skills. But i have a little experience in different languages.


any reccomendation which language i should use?
you must POST some JSON to" how do you do that?: 7/30/2014 23:23:27


Red Menace
Level 55
Report
The best language.
you must POST some JSON to" how do you do that?: 8/3/2014 20:30:39

RvW 
Level 46
Report
rave,

i want to use the "Set map details API".

Maybe this sounds stupid, but why do you want to use the API? You mention not having any specific programming experience and you're not explaining what you want to accomplish. That means it's possible the easiest way to accomplish your goal is to forget about the API and use the "normal" map editor.

Note: there are tons of "valid" reasons to want to use the API. I'm not saying (or trying to imply) you shouldn't use it; I really am just wondering if the API is indeed the best solution to your problem.
Posts 1 - 5 of 5