Hi there, I’m relatively new to the application, and I’m trying to set up an HTTP Export feed, but I’m getting stuck at the URL parameter. I have tried different configurations, but I haven’t been able to get it right. There isn’t much information in the documentation either.
The URL tooltip refers to Twig syntax, and I have tried a few different things, but I’m having no success; either it returns a curl error, or it fails to identify the syntax. Can someone please help me by telling me what format the URL should be that I’m entering in this parameter?
Bump, does anyone have any advice on this topic?
Hello,
Could you share the exact error you’re seeing?
The URL parameter should be a plain string containing the full URL. Here’s a basic example:
Twig syntax is optional and only needed for more complicated scenarios like dynamic URLs.
For example:
{% if entities[0].isActive == 1 %}https://url1/V1/products/{{entities[0].product.sku}}{% else %}https://url2/V1/products/{{entities[0].product.sku}}{% endif %}
That said, the issue might not be with the URL itself—it could also be related to the request headers, body, or authorization settings.
1 Like
Thanks very much, your pots helped me fix the issue. All I needed to do was add the base URL to the field
1 Like