Closed boblannon closed 12 years ago
update... the returned JSON response now looks like this:
200 OK
Server: nginx/1.2.1
Date: Mon, 23 Jul 2012 15:35:40 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
{"result_url": "http://adhawk.sunlightfoundation.com/ad/1c"}
I've added "c" to the end of the response in order to tell the view that this is a request coming from the mobile client, so that we can tailor design elements to the specific needs of that context.
here's the JSON response (with headers) to expect from the server. it'll always be of the form ../ad/. I'm working right now on the view associated with that location.
(fyi, since I haven't finished the ad profile view yet, right now you'll get a picture of eric wareheim)