ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. api
    Log in to post
    • All categories
    • Oksana

      Expanded Functionality of vSphere Mobile Client
      Starwind • starwind vsphere vms vmware vsphere html5 api vcenter • • Oksana

      1
      0
      Votes
      1
      Posts
      94
      Views

      No one has replied

    • L

      Send CSV file to Slack Channel by bash script through Webhook
      IT Discussion • slack csv bash script webhook api • • Laksh1999

      6
      1
      Votes
      6
      Posts
      1023
      Views

      stacksofplates

      @pete-s said in Send CSV file to Slack Channel by bash script through Webhook:

      @laksh1999 said in Send CSV file to Slack Channel by bash script through Webhook:

      @pete-s said in Send CSV file to Slack Channel by bash script through Webhook:

      @laksh1999 said in Send CSV file to Slack Channel by bash script through Webhook:

      Hi
      I am trying to send the assigned tickets in the queue as .csv file to the slack channel. I am able to download the .csv file in the dev desktop through bash script but unable to send that file to the Slack Channel.

      Anyone have tried this before?

      I have checked this

      https://api.slack.com/methods/files.upload

      I have only Webhook URL no other token is there with me as per the suggestion in the above link.

      You must have a token or some kind of authentication, otherwise anyone would be spam slack with files.

      Also the function you are looking at is not a webhook. Webhooks are triggered by an event. And they cause a http request to be sent.

      I accept with your point the csv file which i download is authenticated with the kerberos only.So is that enough and send the .csv file to the slack channel through the webhook ?

      @stacksofplates maybe you can offer some insight?

      At the bottom of the upload API page they give you an example of what you need. You need your API token and the channel ID(s) that you want to send the data to.

      curl -F [email protected] -F "initial_comment=Shakes the cat" -F channels=C024BE91L,D032AC32T -H "Authorization: Bearer xoxa-xxxxxxxxx-xxxx" https://slack.com/api/files.upload

    • JaredBusch

      Unsolved Has anyone setup an API for an internal application
      IT Discussion • api rest api • • JaredBusch

      34
      3
      Votes
      34
      Posts
      589
      Views

      matteo nunziati

      @stacksofplates yup! One of the few using golang 😀
      I've enjoyed it too once!

    • DustinB3403

      B2 Uploading large files - Post - File already closed
      IT Discussion • backblaze b2 api sync rclone linux apple external storage • • DustinB3403

      10
      -2
      Votes
      10
      Posts
      396
      Views

      DustinB3403

      No dice just yet, finishing a beer and headed home. Going to see if this can get resolved tomorrow.

    • stacksofplates

      Mocking API Endpoints with Go
      IT Discussion • golang unit test mock api api • • stacksofplates

      7
      1
      Votes
      7
      Posts
      309
      Views

      stacksofplates

      @Danp said in Mocking API Endpoints with Go:

      I know that Postman provides the ability to perform this type of API testing. Has anyone tried this feature?

      I'm sure it does. The problem there though is if you're running in a pipeline you'd have to somehow get Postman downloaded, set up, and configured automatically to test against it. This is just in the standard library so you can unit test in your pipeline automatically.

    • E

      Printing from a web app
      IT Discussion • cloud print web cloud printing api google cloud print • • elegast

      21
      0
      Votes
      21
      Posts
      495
      Views

      E

      Thx for your help, you all.

      I will check the possibilities!

    • JaredBusch

      Solved Has anyone used the B2 API
      IT Discussion • backblaze b2 b2 api authentication • • JaredBusch

      8
      1
      Votes
      8
      Posts
      349
      Views

      JaredBusch

      Got it. I was using the account id with an application key.

      A more careful reading of the above linked page shows that:

      0_1542076748186_e6061550-5167-4def-b9b5-5b89e859f408-image.png

      So that was the disconnect.

      Application Key requires Application ID. Account ID requires Master Application Key.

      When the examples clearly stated ACCOUNT_ID and APPLICATION_KEY

      0_1542076683650_e8a7c2f9-0a93-4c35-b429-0bf24767fe33-image.png

    • mlnews

      Google Loses Java Use Suit with Oracle; Java Might Be Something to Avoid
      News • google java oracle api • • mlnews

      15
      4
      Votes
      15
      Posts
      927
      Views

      scottalanmiller

      Sadly, Zimbra is an exception.

    • NetworkNerd

      Hytrust Configuration Backups with Powershell REST API Calls
      Self Promotion • networknerd blog networknerd hytrust hytrust encryption powershell api scripting networknerd powershell rest api disaster recovery vm encryption vmware networknerd vmware • • NetworkNerd

      1
      2
      Votes
      1
      Posts
      750
      Views

      No one has replied

    • stacksofplates

      Dynamic DNS with CloudFlare
      IT Discussion • cloudflare api linux dns edge router • • stacksofplates

      25
      8
      Votes
      25
      Posts
      2794
      Views

      Romo

      Edgerouters can now handle custom dynamic dns providers without the need of the script - here is the guide with Cloudflare as the example: https://help.ubnt.com/hc/en-us/articles/204976324