+ Reply to Thread
Results 1 to 4 of 4

Excel VBA - CURL - PUT - JSON - WinHttpRequest

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    6

    Excel VBA - CURL - PUT - JSON - WinHttpRequest

    I am trying to perform actions on a tool that supports API. I am using Excel VBA ("WinHttp.WinHttpRequest.5.1").

    Please Login or Register  to view this content.
    In the help pages of Zendesk, I found the following information.

    **Note:** During recovery, the API sets the requester to the authenticated agent who called the API, not the original requester. This prevents the ticket from being re-suspended after recovery. To preserve the original requester, GET the suspended ticket before recovery and grab the author value.

    This clearly says that the author would change and I will have to use the GET method to grab the author value. I have successfully grabed the author value from the ticket information (json file). However, I am not aware, how to send PUT request using the following cURL:

    Please Login or Register  to view this content.
    -----

    Please Login or Register  to view this content.
    I have used the following code to fetch (GET) information from the json file:

    Please Login or Register  to view this content.
    Seeking insightful help from professionals and experts.


    Regards....
    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the blue scales icon located in one of their post in this thread.

    Please consider the environment before printing this mail.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,199

    Re: Excel VBA - CURL - PUT - JSON - WinHttpRequest

    Hi, asipoy

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).


    http://www.mrexcel.com/forum/excel-q...tprequest.html

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    03-17-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Excel VBA - CURL - PUT - JSON - WinHttpRequest

    Sorry for that... I was not aware about it. Will surely ensure this is taken care of. Also the intention was to get some insights as soon as possible.

  4. #4
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Excel VBA - CURL - PUT - JSON - WinHttpRequest

    Not forgetting the post on OzGrid. As far as 'getting some insights as soon as possible' is concerned, please read the link in HaHoBes' reply. It explains why your getting insights as soon as possible can waste other peoples time...
    Last edited by cytop; 12-24-2013 at 07:04 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Import JSON Api to Excel
    By hockeyadc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-13-2014, 01:42 PM
  2. [SOLVED] Strange problem on web extract using MSXML2.XMLHTTP / WinHttp.WinHttpRequest.5.1
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2013, 05:13 AM
  3. curl -v -u APIKEY:x -d IN EXCEL
    By cologlic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2013, 09:42 AM
  4. Import JSON in Excel by macro
    By bmmerkx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2013, 09:39 AM
  5. Importing JSON Data into Excel
    By Kyle123 in forum Excel Tips
    Replies: 1
    Last Post: 07-25-2012, 08:47 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1