POST endpoint working