REST service Basic Authentication
how do you setup a rest service that uses Basic HTTP authentication?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
how do you setup a rest service that uses Basic HTTP authentication?
The service URL would look like this:
code
https://{user}:{password}@some.host.com
/code
{user} and {password} are defined as service input parameters and can be mapped from the UI (or local storage).
Let me know if this helps.
I have added a service for the Parse API ([url=http://www.parse.com)]www.parse.com)[/url]. I can view my objects if I just type the service url in a browser - I get back json data.
How would you set this up the tiggr editor? Do I replace {user} and {password} in the url with the correct values or do I use the parameters window to supply them?
How do I hook up a list to a data source control?
Let's try the service in Tiggr. Turn off Echo mode and go to Request Parameters panel. If you haven't, define 'user' and 'password' parameters and then click Test. Enter your user name and password. What do you get back?
I get the following:
----------------------------------------------------------------------------------------------------URL: https://{user}:{password}@api.parse.c...
Method: get
Data Type: json
Content Type:
Security Context: 0
Request header parameters: none
Request body parameters: user=12345&password=67890
GET https://12345:67890@api.parse.com/1/c... returned a response status of 401 Unauthorized
----------------------------------------------------------------------------------------------------I removed my real u/p for security. Like I said I can type the url into a browser and get back json data. But, it does not work from tiggr.
-- I just sent you an email with the URL I am using to pull json data from Parse.
And you have exact the same URL in Tiggr as you type in Web browser?
Yes.
I got a bounce from the email I sent to you. I used the email address on your blog. Send me an email at dotnetprodev {at} gmail.com and I send you the real url.
Sent. Email from here bounced http://mkblog.exadel.com/about-me/?
I have the exact same problem. I am testing tiggr with my REST backend.
I cannot call the web-services with basic auth. Do you have any solution?
What kind of authentication does your service require? Are you able to share the service URL with a href="mailto:support@gotiggr.com" rel="nofollow"support@gotiggr.com/a?