Write out ph/upload endpoint
Write out ph/send endpoint