Get/Posts functioning

working js