Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-08-2009, 01:18 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2009
Location: CA and NC
Posts: 4
Default Help! symfony POST to Postgres ???

HELP! I'm a newbie with C experience, but I can't figure out what's next.

I know that I'd like to build and send a request that accomplishes a POST. Here's what symfony is sending: How do I do this in the App?
POST http: //www.XXXXXX.tld/index.php/TestDB/create Host: www.XXXXXX.tld User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: 1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: UTF-8,* Keep-Alive: 300 Connection: keep-alive Referer: http: //www.XXXXXX.tld/index.php/TestDB/new Cookie: logintheme=cpanel; cprelogin=no; langedit=; lang=; PPA_ID=5e8a640cf394ff16762b38399c5b0092; webfx-tree-cookie-persistence=wfxt-20+wfxt-16+wfxt-10+wfxt-4+wfxt-6+wfxt-8+wfxt-22+wfxt-32+wfxt-26; symfony=2f84fb600ea82256a57d27a79bc81ab4 TestDB%5BINPUT_name%5D: JOHN DOE TestDB%5BTestDB_id%5D: TestDB%5B_csrf_token%5D: 41b5aa1826783905426e62821901044c
What's the elegant way to connect and POST to Postgres?

Do I need to get the csrf token and then POST with it? two steps?

Some sample source code would be really appreciated, I'm lost.
BMcCJ is offline   Reply With Quote
Old 09-08-2009, 01:35 AM   #2 (permalink)
Registered Member
 
Join Date: Jul 2009
Location: CA and NC
Posts: 4
Default P.S.

My tech team tells me JSON is coming soon.
BMcCJ is offline   Reply With Quote
Reply

Bookmarks

Tags
post, postgres, symfony

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 265
20 members and 245 guests
@sandris, AdamL, ADY, Dani77, diyora, FAED, F_Bryant, GHuebner, HDshot, headkaze, mer10, Oral B, prchn4christ, Rudy, smithdale87, Thompson22, timle8n1, Touchmint, twerner, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,749
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:57 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0