I need to call the following curl command during XCUITest, and don't need to worry about parameters and response here.
Could anyone please help me give some suggestions/sample here? Will it be easier to put the command into a shell script? Many thanks!
curl -X PUT -H "Content-Type: application/json" -d '{"membershipId": "111", "approved": "true", "env": "stage"}' http://st.com:8080/abc/sp/auditmember