Difference between revisions of "NationStates:Login"

From NSWiki
Jump to: navigation, search
m (update api targets)
Line 38: Line 38:
 
$("#login_error").hide();
 
$("#login_error").hide();
 
$("#nation_enter").attr("disabled", true);
 
$("#nation_enter").attr("disabled", true);
$.get("https://nationstatesplusplus.net/api/nation/name/?name=" + encodeURIComponent($("#nation_name").val()), function(data) {
+
$.get("https://www.nationstates.net/cgi-bin/api.cgi?nation=" + encodeURIComponent($("#nation_name").val()), function(data) {
 
console.log("found nation named " + $("#nation_name").val());
 
console.log("found nation named " + $("#nation_name").val());
 
$("#nation_enter").removeAttr("disabled").hide();
 
$("#nation_enter").removeAttr("disabled").hide();

Revision as of 00:59, 4 January 2017

Error: Invalid hash.