Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9272207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:49:01+00:00 2026-06-18T15:49:01+00:00

I am trying to access the smartsheet API. They have a sample code provided

  • 0

I am trying to access the smartsheet API. They have a sample code provided in curl to access it.

To access your Sheet list, construct an HTTPS request using your favorite programming or scripting language. Here is an example using the curl from a linux command line:

curl https://api.smartsheet.com/1.0/sheets \
-H "Authorization: Bearer 0da6cf0d-848c-4266-9b47-cd32a6151b1f" \
-H "Assume-User: john.doe%40smartsheet.com"

How do I do that in vb.net or from a html form?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:49:02+00:00Added an answer on June 18, 2026 at 3:49 pm

    This is a rather large subject but at it’s most simple you could try this…

    Imports System.Net
    

    and then…

    Dim wHeader As WebHeaderCollection = New WebHeaderCollection()
    
    wHeader.Clear()
    wHeader.Add("Authorization: Bearer 0da6cf0d-848c-4266-9b47-cd32a6151b1f")
    wHeader.Add("Assume-User: john.doe%40smartsheet.com")
    
    Dim sUrl As String = "https://api.smartsheet.com/1.0/sheets"
    
    Dim wRequest As HttpWebRequest = DirectCast(System.Net.HttpWebRequest.Create(sUrl), HttpWebRequest)
    
    'wRequest.ContentType = "application/json" ' I don't know what your content type is
    wRequest.Headers = wHeader
    wRequest.Method = "GET"
    
    Dim wResponse As HttpWebResponse = DirectCast(wRequest.GetResponse(), HttpWebResponse)
    
    Dim sResponse As String = ""
    
    Using srRead As New StreamReader(wResponse.GetResponseStream())
        sResponse = srRead.ReadToEnd()
    End Using
    

    I’m unfamiliar with the smartsheet API but you can use this as a start point.

    If you are using a Proxy you will need to add…

    Dim wProxy As IWebProxy = WebRequest.GetSystemWebProxy()
    wProxy.Credentials = System.Net.CredentialCache.DefaultCredentials
    

    and specify the proxy when you make the request…

    wRequest.Proxy = wProxy
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to access the value of a selected radioButton. I have a list
Am trying to access an API using CURL I can access the API from
I am trying access a REST API. I can get it working in Curl/REST
Trying to access the URL https://memphis.ulbranet.com.br/ALEPH/ using cURL in PHP, but it presents the
I am trying to access Google api client (Ruby) without Oauth.. I have found
After trying to access ivars using KVC, I have noticed that there was no
Im trying to access ValidationMessage through jquery. I have <%: Html.TextBox(vcr_LinkAddress,null, new { maxlength
I am trying to access my local resources file in my code-behind. I did
I'm trying to access a 3rd party api over http using jquery .ajax (or
Im trying to access my Yii code generator which is Gii. but when i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.