Fixed check for invalid URL POST requests.
Merge pull request #25 from rawrin/batchOperation

Fixed check on invalid URLs for POST request