Jump to content

Search the Community

Showing results for tags 'upload image'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello, For sharing screenshots with my friends I'm using uploadscreenshot.com. I noticed they have a useable API, so I thought I could create a neat little program which will upload screenshot with a single button click. After reading their documentation I started to play some with WinHTTP, but unfortunately I have zero experience with WinHTTP. API documentation: www.uploadscreenshot.com/api-documentation What I've tried: #include "WinHTTP/WinHttp.au3" Global Const $sAPIKey = "*snip*" Global Const $sAPIURL = "http://img1.uploadscreenshot.com/api-upload.php" Global Const $sIP = "209.105.243.66" ; pinged from 'uploadscreenshot.com' Global $hOpen = _WinHttpOpen() Global $hConnect = _WinHttpConnect($hOpen, $sAPIURL) Global $hRequest = _WinHttpOpenRequest($hConnect, "POST", "C:\Users\Lyker\Desktop\Other\Untitled-1.png") _WinHttpSendRequest($hRequest) _WinHttpReceiveResponse($hRequest) MsgBox(0, "", _WinHttpReadData($hRequest)) _WinHttpCloseHandle($hRequest) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) I have no idea how I should use the WinHTTP UDF to connect with their API and send images & fill in variables. Any pokes in the right direction? Almar
×
×
  • Create New...