This is a migrated thread and some comments may be shown as answers.

How to pass Custom parameters to API

1 Answer 47 Views
Apple iOS SDK
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Viktor
Top achievements
Rank 1
Viktor asked on 24 Oct 2017, 03:18 PM

Hi guys,

I couldn't find in the docs how to pass custom parameters/headers to Backend Services with iOS SDK. Can you provide some insights or example?

Thanks,

Viktor

 

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 26 Oct 2017, 12:39 PM
Hello Viktor,

I'm afraid that the SDK does not provide this ability. 

After examining the code in the SDK for the options for a quick extensibility option, my suggestion would be to just construct a custom HTTP request at the time when you need to issue a request with X-Everlive-Custom-Parameters header. If needed to authenticate before the server, you can extract the current user access token as shown here and reuse it in the custom HTTP request.

Let me know if further questions arise. 

Regards,
Anton Dobrev
Progress Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
Apple iOS SDK
Asked by
Viktor
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or