java - Malformed Url in case of woocommerce api through android -
the "woocommerce api generate signature" url
string geturl = get&http%3a%2f%2fprojectrepo.net%2fscoop%2fwp-json%2fwc%2fv2%2forders&oauth_consumer_key%3dck_2f53925c....6407f09f67f5f118d01ed80e%26oauth_signature_method%3dhmac-sha1
when url passed through below method,
url url = new url(geturl);
"malformed url" error shown.
and when "get&" ommited url,this error gone.but "get&" needed signature generation in woocommerce api.
what problem? if doubt,please comment.
thanks time.
well "get&" characters before url mandatory generating signature.when actual posting of data done "get&" characters should ommited.
everyone time.
Comments
Post a Comment