See about using a dot.
If you want to use GET, you can pass this parameter as a query string ie
$http.get('https://localhost:3003/posts/search?string=.') .then(getPostCompleted).catch(function (message) { handleException(message); });
Otherwise, you can use POST and add a parameter to the body
$http.post('https://localhost:3003/posts/search', {string: '.'}) .then(getPostCompleted).catch(function (message) { handleException(message); });
Bagofjuice
source share