Skip to content

Instantly share code, notes, and snippets.

@larascasse
Created February 14, 2012 16:08
Show Gist options
  • Save larascasse/1827796 to your computer and use it in GitHub Desktop.
Save larascasse/1827796 to your computer and use it in GitHub Desktop.
level street_address
city 3ème Arrondissement Paris
state Île-de-France
sw_lat 48.86710531970849
parent_hash[city] 3rd arrondissement of Paris
accuracy 8
sw_lng 2.354801119708498
parent_hash[accuracy] 5
parent_hash[ne_lat] 48.8711592
parent_hash[sw_lat] 48.8564786
parent_hash[country] France
lng 2.3561501
authentication_token 2WKhzXtI15N5MZzUo9XZ
ne_lat 48.86980328029149
ne_lng 2.357499080291502
parent_hash[address] 3rd arrondissement of Paris, Paris, France
parent_hash[sw_lng] 2.3456509
address 65 Rue Meslay, 75003 Paris, France
parent_hash[ne_lng] 2.3776657
parent_hash[level] sublocality
parent_hash[state] Île-de-France
country France
@larascasse
Copy link
Author

POST /api/v1/locations.json HTTP/1.1
Host: krrb.dev.area17.com
User-Agent: Krrb_Staging/1.2 CFNetwork/548.0.3 Darwin/10.8.0
Content-Length: 2939
Accept: application/json
Content-Type: multipart/form-data; boundary=3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
X-API-Token: a0b2e449c13cee5657e9ff17cfb77cd1d39812b8
Accept-Language: fr-fr
Accept-Encoding: gzip, deflate
Cookie: __utma=214381645.590309462.1329151998.1329151998.1329151998.1; __utmz=214381645.1329151998.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); download_iphone=1
Pragma: no-cache
Connection: keep-alive
Cache-Control: no-cache

--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="level"

street_address
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="city"

3ème Arrondissement Paris
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="state"

Île-de-France
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="sw_lat"

48.86710531970849
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[city]"

3rd arrondissement of Paris
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="accuracy"

8
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="sw_lng"

2.354801119708498
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[accuracy]"

5
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[ne_lat]"

48.8711592
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[sw_lat]"

48.8564786
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[country]"

France
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="lng"

2.3561501
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="authentication_token"

2WKhzXtI15N5MZzUo9XZ
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="ne_lat"

48.86980328029149
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="ne_lng"

2.357499080291502
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[address]"

3rd arrondissement of Paris, Paris, France
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[sw_lng]"

2.3456509
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="address"

65 Rue Meslay, 75003 Paris, France
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[ne_lng]"

2.3776657
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[level]"

sublocality
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[state]"

Île-de-France
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="country"

France
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[lat]"

48.8638194
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="lat"

48.8684543
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f
Content-Disposition: form-data; name="parent_hash[lng]"

2.3616583
--3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment