Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

-u Curl parameter

Hi

I am connecting to an external API that requires the use of the cURL -u parameter.

Where and how would I apply this parameter in a service?

Thank you

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

-u Curl parameter

Hello Deon,

This is the parameter for the Basic Authentication, so please transform it to the base64 string and pass it to the server, like it is shown here: https://stackoverflow.com/questions/3...

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

-u Curl parameter

Hi Serhii

I dont understand what you are trying to say, my question is where do I applythe same example for Postman, in the Appery service. There is no "Authorization" tab in Appery service request, only Header and Query String.

I tried settings service and security service but neither works.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

-u Curl parameter

Ok, so I reversed engineered a POSTMAN call to the API.
.
It resulted in the fact that I needed to use the Appery Header with a parameter called
Authorization and the the value containing Basic with both the Username and Password values combined (I presume the base64 string)

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

-u Curl parameter

You are right, you have to use a header parameter "Authorization" for that

Return to “Issues”