rameshvoltella / WoocommerceAndroidOAuth1

woocommerce android Oauth 1(one legged)
MIT License
36 stars 14 forks source link

Query parameters cause the requests to fail with 401 #5

Open samarthagarwal opened 7 years ago

samarthagarwal commented 7 years ago

When I try the endpoints without parametes like /products, it works fine but when I send parameters along with it, for example, /products?per_page=30 or products?filter[category]=music, the requests fails with Error 401.

Can you suggest a solution or workaround?

rameshvoltella commented 7 years ago

right now am little bit busy, will find a fix as ap mean time can you check with scribe library

samarthagarwal commented 7 years ago

I built my own lib based on yours. It works flawless even with params.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Ramesh M Nair notifications@github.com Sent: Monday, May 15, 2017 11:47:04 AM To: rameshvoltella/WoocommerceAndroidOAuth1 Cc: Samarth Agarwal; Author Subject: Re: [rameshvoltella/WoocommerceAndroidOAuth1] Query parameters cause the requests to fail with 401 (#5)

right now am little bit busy, will find a fix as ap mean time can you check with scribe library

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rameshvoltella/WoocommerceAndroidOAuth1/issues/5#issuecomment-301385644, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADFbIG4mPbScwOkwlS-SUC824mlVU2hMks5r5-3ggaJpZM4NR2LI.

ostwalankit commented 7 years ago

Hi @samarthagarwal can you share new library that you created. It would be great. Also where did you insert this ' compile project(':woocommerseandroidoauth1library')' in app module or project module , because putting this in app dependency is giving me errors.

samarthagarwal commented 7 years ago

I will post a link here, allow me some time.

ostwalankit commented 7 years ago

ok. i will wait for these. thank you @samarthagarwal

kshitij-tiwari commented 6 years ago

@rameshvoltella Were you able to solve this issue? @samarthagarwal Can you provide the link please?

rizky-saraan commented 4 years ago

I built my own lib based on yours. It works flawless even with params. Get Outlook for Androidhttps://aka.ms/ghei36 ____ From: Ramesh M Nair notifications@github.com Sent: Monday, May 15, 2017 11:47:04 AM To: rameshvoltella/WoocommerceAndroidOAuth1 Cc: Samarth Agarwal; Author Subject: Re: [rameshvoltella/WoocommerceAndroidOAuth1] Query parameters cause the requests to fail with 401 (#5) right now am little bit busy, will find a fix as ap mean time can you check with scribe library — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#5 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADFbIG4mPbScwOkwlS-SUC824mlVU2hMks5r5-3ggaJpZM4NR2LI.

I will post a link here, allow me some time.

how you can solve this ?? please tell me . @samarthagarwal

MuhammadHamzaSaleem commented 3 years ago

@samarthagarwal can you please tell how to solve this issue

@GitKyRep @ostwalankit you find any solution ?

ostwalankit commented 3 years ago

@MuhammadHamzaSaleem , This library did not solve the issue. I have created my own logic, to handle this part.