Use Curl To Test Api