cURL Upload file and send POST data

Ah found out one way to do this through the man pages.

Have to use -F 'username=test' -F 'password=test' I can't combine them with &. Weird

If anyone knows another way let me know =)