Fix response from api for post