convert Curl with headers -H and -- data to RestClient
Timothy Fong <timfong888@...>
How do I convert the following to Restclient?
curl -H "Content-Type: application/json" -X POST --data '{"contacts" : [1111],"text" : "Testing"}' https://api.sendhub.com/v1/messages/?username=NUMBER\&api_key=APIKEY
|
|