Get submitted data from formstack using C#? - Microsoft Community
- Get link
- X
- Other Apps
hi all
i wrote code
using system;
using system.collections.generic;
using system.linq;
using system.text;
using system.threading.tasks;
using system.net; //webclient
using system.io; // use streamreader
namespace test_to_integrate_formstack
{
class program
{
static void main(string[] args)
{
var uri = string.format("https://www.formstack.com/api/v2/submission/:313004779.json"); try { using (var webclient = new webclient()) { webclient.headers.add("accept", "application/json"); webclient.headers.add("authorization", "apikey" + "8d660df91a33d7bbd83eb4d6a94162b2"); string response = string.empty; response = webclient.downloadstring(uri); } } catch (webexception we) { using (var sr = new streamreader(we.response.getresponsestream())) { } } } }
}
and giving me error.
t giving me error:the remote server returned error: (400) bad request.
where should wrong? please let me know. or give me example takes submission records.
thank you
hi,
check experts @ these microsoft developer resources.
msdn - developers
http://msdn.microsoft.com/en-us/dn308572.aspx
msdn - developers - community
http://msdn.microsoft.com/developer-communities-msdn
msdn - forums
http://social.msdn.microsoft.com/forums/en/categories/
msdn - forum for…?
http://social.msdn.microsoft.com/forums/en/whatforum/threads
hope helps.
--------------------------------------------------------------------------------------------
rob brown - microsoft mvp <- profile - windows , devices it : bicycle - mark twain said right.
Community Participation Center / Discuss the Microsoft Community site / Getting started on Microsoft Community
- Get link
- X
- Other Apps
Comments
Post a Comment