Skip to main content

Hi, 

Anyone could help me out on this please? New user, first time working with Web Request… been through documentation and this community for hours… just can’t find the bug 🤔

Just trying to simply create a basic ticket from Web Request.

Many thanks in advance!

 

Hello @Patrick G, the web request node is designed to make RESTful API requests such as POST, GET, PUT, and DELETE. It allows you to define your request headers (authorization, URL endpoint, etc) and then pass to request methods that require data in the request body as a JSON payload. So in your example, remove everything but what you have for the data property of your curl command

Keep the opening and closing brackets and everything in between, remove the rest from the “body” field. Lastly, set your API key in the username field and a “X” in the password field to satisfy the basic authentication necessary to make an API request.

This should fix your issue.

Let us know how it goes!! Take care :)


As Zac say you don’t need the curl commands when you use the WR node. 

if you copy example from the API page you only need this 

 


Many thanks @Daniel Söderlund and @zachary.king,

 

Everything works fine now 🙂 I really appreciate!

 

Pat


Wish this would work for me. Copied the exact code from above and the api reference. Tried this

json
 

But I got this

 


Reply