Hi i have problems with this JSON stocklist request
https://erik%40augustin.it:eaugustin@XX ... ettpricing
testing
with chrome no problem link returns json data
with edge a popup shows up for login & password
with mjt taskmanager latets version:
Let>HTTP_SSL=1
You may also need to set the TLS version:
//set TLS to use 1.2
Let>TLS_VER=12
HTTPRequest>https://erik%40augustin.it:eaugustin@XX ... ng,,,,JSON
MessageModal>JSON
i get messagemodal: You must enter a valid login ID and password to access this resource
Whats wrong?
Thanks
Erik
problem password protected feed json link
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: problem password protected feed json link
The issue is that the username should have the @ character in it (and not already encoded). So you need variables:
Code: Select all
Let>HTTP_SSL=1
Let>TLS_VER=12
Let>[email protected]
Let>password=*****
HTTPRequest>https://username:password@xxxxxxxxxxxxxxxxxxxx/webservice/?reseller_nettpricing,,GET,,JSON
MessageModal>JSON
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: problem password protected feed json link
in this case you for best result you should put %% around the variables
so
HTTPRequest>https://username:password@xxxxxxxxxxxxx ... webservice
becomes
HTTPRequest>https://%username%:%password%@xxxxxxxxx ... webservice
kind regards,
Djek
so
HTTPRequest>https://username:password@xxxxxxxxxxxxx ... webservice
becomes
HTTPRequest>https://%username%:%password%@xxxxxxxxx ... webservice
kind regards,
Djek
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: problem password protected feed json link
Actually you do NOT want to do that with HTTPRequest.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?