Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to add custom HTTP headers in Mobile Buy SDK

How to add custom HTTP headers in Mobile Buy SDK

cenisuru
Shopify Partner
12 0 0

Hi,

 

I'm developing an app using the Shopify Buy SDK. When I'm testing the API functions like login/password recovery etc, I frequently run into the limit exceeded error. Upon searching for an answer, I came across someone saying that you should consider adding the `Shopify-Storefront-Buyer-IP` header to the requests. I looked through the API docs and SDK code itself. I couldn't find a way to set custom headers to the HTTP requests originating from the SDK.

 

Is there a way to do this that I'm missing?

Replies 2 (2)

ShopifyDevSup
Shopify Staff
1453 238 524

Hey @cenisuru , that's interesting. In this case, the best thing to do will be to open an issue in the github repository that you linked. 

 

Hope that helps. 

 

- Kyle G.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

cenisuru
Shopify Partner
12 0 0

Hi Kyle, thanks for the response. I went ahead and opened a ticket over there.