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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -