Breadcrumbs

Tips & Tricks

Use request with x-www-form-urlencoded

To use x-www-form-urlencoded requests, you need to add a Content-Type to the HTTP Config in the Props properties: "Content-Type": "application/x-www-form-urlencoded"

image-2023-11-29_11-31-30.png

You can then set your properties with the following syntax: 

The keys and values are encoded in key-value tuples separated by '&', with a '=' between the key and the value.

image-2023-11-29_11-41-19.png


Cloudflare errorCode 1010

A little tip for those integrating APIs with RestNetwork. Your integration may work fine in Postman but not in your Restnetwork. You'll receive an errorCode 1010. And you'll be able to detect the presence of Cloudflare in the response headers (via the finest logs), i.e. the API you're targeting uses Cloudflare.
And so Cloudflare expects to have a header that indicates the UserAgent.
So in Niagara, it looks like this:

image (3).png