yaws_api:parse_post returns a list of tuples. If you want to create an atom out of a string you can use list_to_atom or list_to_existing_atom (the later is secure from overflowing the table of atoms so it consumes all memory). What is you previous programming language experience?