http requests, server creation/editing

allow 202 accepted responses,
fix json request body