Fixed POST function
	- Changed status check from 200 to 201/202 to match HTTP response from API

Signed-off-by: Nathan Bird <nathan@nathanbird.id.au>