Help an old Hippie with an easy problem...

Help an old Hippie with an easy problem...

Been figuring it out on my own for way too long and want to take a short cut. Can someone who knows better throw me the http call I'd send to update a record and the one to create a new one? I can manage getting a token but don't want to spend hours trying to figure it out the call when the community is so knowledgeable. I'm using PERL and LWAgent. I can construct the URL if I know the format but that's what always gives me anguish.