Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Butler HTTP Request: GET with Headers

I have been using Butler's HTTP Requests features to POST updates to 3rd party software.  I use the "with headers" option so that I can set HTTP headers which are required for the API.

I am hoping to do something similar but with a GET request.  Is there anyway to pass the "with headers" option on a GET request?  If not, is there a good workaround for this?

2 answers

2 accepted

2 votes
Answer accepted

@Ryan Carlson 

I stumbled upon this same issue and your question prompted me to try again. And I found a way to do this.

post to url "https://38239.wayscript.io/get" with payload "{\"yourURL\" : \"https://domain.myfreshworks.com/crm/sales/api/contacts/16002233290\"}"

My endpoint has a request module which will provide the header and yourURL  and return a json which will be available to Butler as {httpresponse}

You will notice that there is cardidlong in it. I had put it in the CRM record.

Screen Shot 2021-02-02 at 1.56.48 PM.jpgScreen Shot 2021-02-02 at 1.53.50 PM.jpg

@Ryan Carlson 

It can be make for general use by have a different payload since the request module can accept variables....for example

{"yourURL" : "https://domain.myfreshworks.com/crm/sales/api/contacts/16002233290", "yourAuth" : "your specific authorization string for Authorization", "yourConType" : "your content type details for Content-Type" }

 I have changed the endpoint to handle the above. See if it works for you. We can talk details later.

1 vote
Answer accepted
Iain Dooley Community Leader Feb 01, 2021

@Ryan Carlson if you can't see the option in the interface that means it's not available I'd say, the only workaround I can think of would be to post to a Zapier webhook, add the headers in there and then repost.

You could also do this in Trellinator which runs under Google Apps Script, you can read more about it here:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

Thank you for confirming that this feature is not supported in the core product.

Zapier would definitely work (We are using this for some other automations).  For our use case, I am leaning against Zapier due to cost concerns.  I want to sync a lot of cards frequently and Zapier's task based pricing is not ideal for this.  

Trellinator looks interesting so thank you for providing that alternative.  I will check it out.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Introducing: A Whole New Trello

After a decade of growing the most ubiquitous visual framework for productivity and project management, we are evolving Trello’s boards, lists, and cards model to bring context to content and help te...

611 views 23 21
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you