Training Academy (Neopets): Difference between revisions

From Computers Wiki
Jump to navigationJump to search
(Create page)
 
(Add bonus version)
Line 3: Line 3:
== process_academy.html ==
== process_academy.html ==


=== POST Request ===
=== Normal ===

==== POST Request ====
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
type=complete&pet_name=Berrysap
type=complete&pet_name=Berrysap
</syntaxhighlight>
</syntaxhighlight>


=== Response ===
==== Response ====
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
<style type=text/css>
<style type=text/css>
Line 17: Line 19:
</style>
</style>
<center><IMG src="//pets.neopets.com/cpn/Berrysap/1/2.png" width="150" height="150" border="0"><br><b>Woohoo!</b><p>Congratulations! <b>Berrysap</b> now has increased Defence!!!<p><p><form action='academy.phtml' method='get'><input type='submit' value='Back to the Swashbuckling Academy'></form>
<center><IMG src="//pets.neopets.com/cpn/Berrysap/1/2.png" width="150" height="150" border="0"><br><b>Woohoo!</b><p>Congratulations! <b>Berrysap</b> now has increased Defence!!!<p><p><form action='academy.phtml' method='get'><input type='submit' value='Back to the Swashbuckling Academy'></form>
</syntaxhighlight>

=== Bonus ===

==== POST Request ====
<syntaxhighlight lang="html">
type=complete&pet_name=Lilia_Roo
</syntaxhighlight>

==== Response ====
<syntaxhighlight lang="html">
<style type=text/css>
A{COLOR:#000099;FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;TEXT-DECORATION:none}
TD,P,body{FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;}
A:hover{COLOR:#990000;}
.smallfont, .sf{FONT-SIZE:7.5pt;}
</style>
<center><IMG src="//pets.neopets.com/cpn/Lilia_Roo/1/2.png" width="150" height="150" border="0"><br><b>Woohoo!</b><p>Congratulations! <b>Lilia_Roo</b> now has increased Level!!!<p><b>*** SUPER BONUS - You went up 2 points!! ***</b><p><p><form action='academy.phtml' method='get'><input type='submit' value='Back to the Swashbuckling Academy'></form>
</syntaxhighlight>
</syntaxhighlight>



Revision as of 04:37, 20 July 2024

The Training Academy API (WIP)

process_academy.html

Normal

POST Request

type=complete&pet_name=Berrysap

Response

<style type=text/css>
A{COLOR:#000099;FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;TEXT-DECORATION:none}
TD,P,body{FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;}
A:hover{COLOR:#990000;}
.smallfont, .sf{FONT-SIZE:7.5pt;}
</style>
<center><IMG src="//pets.neopets.com/cpn/Berrysap/1/2.png" width="150" height="150" border="0"><br><b>Woohoo!</b><p>Congratulations! <b>Berrysap</b> now has increased Defence!!!<p><p><form action='academy.phtml' method='get'><input type='submit' value='Back to the Swashbuckling Academy'></form>

Bonus

POST Request

type=complete&pet_name=Lilia_Roo

Response

<style type=text/css>
A{COLOR:#000099;FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;TEXT-DECORATION:none}
TD,P,body{FONT-FAMILY:verdana,arial,helvetica;FONT-SIZE:9pt;}
A:hover{COLOR:#990000;}
.smallfont, .sf{FONT-SIZE:7.5pt;}
</style>
<center><IMG src="//pets.neopets.com/cpn/Lilia_Roo/1/2.png" width="150" height="150" border="0"><br><b>Woohoo!</b><p>Congratulations! <b>Lilia_Roo</b> now has increased Level!!!<p><b>*** SUPER BONUS - You went up 2 points!! ***</b><p><p><form action='academy.phtml' method='get'><input type='submit' value='Back to the Swashbuckling Academy'></form>