Programmer requests handbook

Discussion in 'Code Snippets and Tutorials' started by Heya, Mar 24, 2012.

  1. Heya

    Heya Level III

    Joined:
    Oct 14, 2009
    Messages:
    411
    Likes Received:
    34
    So I've been looking into what takes the most time in programming for me, and that I've come to is the POST request links. I thought it would be great for other programmers if we keep a reference handbook of requests. To all other programmers, please feel free to post new ones and I'll add them to the list.

    NOTE: Some of the post values are blank. That is there default value, it is not a mistake.

    Login
    GET => http://www.neopets.com/index.phtml
    POST => http://www.neopets.com/login.phtm
    ---- destination = %252Findex.phtml
    ---- username = {Put Username Here}
    ---- password = {Put Password Here}
    EXAMPLE: destination=%252Findex.phtml&username=tester01&password=houston121

    Logout
    GET => http://www.neopets.com/logout.phtml

    Shop Wizard
    GET =>http://www.neopets.com/market.phtml?type=wizard
    POST => http://www.neopets.com/market.phtml
    ---- type = process_wizard
    ---- feedset = 0
    ---- shopwizard = {Put Item Name Here}
    ---- table = shop
    ---- criteria = exact
    ---- min_price = 0
    ---- max_price = 99999
    EXAMPLE: type=process_wizard&feedset=0&shopwizard=Koi Tales&table=shop&criteria=exact&min_price=0&max_price=99999

    Buy Item From User Shop
    Coming Soon!

    Change Your Shops Inventory
    GET => http://www.neopets.com/market.phtml?type=your
    // Then get 'http://www.neopets.com/market.phtml?order_by=id&type=your&lim=30' replacing lim=30 with each additional page, adding 30 to the original 30.
    // EXAMPLE: I want to get the first 4 pages of my shop. I would get
    // http://www.neopets.com/market.phtml?ord ... our&lim=30
    // http://www.neopets.com/market.phtml?ord ... our&lim=60
    // http://www.neopets.com/market.phtml?ord ... our&lim=90
    // http://www.neopets.com/market.phtml?ord ... ur&lim=120
    POST => http://www.neopets.com/process_market.phtml
    ---- type = update_prices
    ---- order_by =
    ---- view =
    // ADD THIS BLOCK FOR EACH ITEM IN YOUR SHOP CHANGING 1 TO 2 AND THEN 3 AND SO ON---
    ---- obj_id_1 = {Put Object ID Here}
    ---- oldcost_1 = {Put Old Price Here}
    ---- cost_1 = {Put New Price Here}
    ---- back_to_inv%5B{Put Object ID Here}%5D = {Put A NUMBER Here of how many to remove from shop. Default is 0}
    //
    ---- lim = {Enter Limit Number Here aka page}
    ---- obj_name =
    EXAMPLE: type=update_prices&order_by=&view=&obj_id_1=8407&oldcost_1=0&cost_1=3338&back_to_inv%5B8407%5D=0&obj_id_2=26435&oldcost_2=0&cost_2=3400&back_to_inv%5B26435%5D=0&lim=30&obj_name=
     
    Lightning likes this.