Send Layer Api Using Curl Example Code Switching