Seperate data validation process to validateData function
Declare HTTP header constants
Write a failing test when user send POST request without any data being passed
Throw an error when send POST request is called but the data is not set
Write a failing test when send POST request to an invalid url
Write a failing test when send POST request to valid url but without any protocolo defined.
Remove URL protocol check in send method, already covered by built in filter_var function
Create stream context and send request
Fix HTTP_HEADER and HTTP_MESTHOD constant
Write a failing test when 404 response is returned
Surpress warning that may be generated by file_get_contents
Add an usage example
Catch 404 Not Found warning
Fix method to catch 404 warning
Improve example
Write a test to send POST request to a valid endpoint
Fix returned response
Improve README