[Altitude] Need for JSON-in / JSON-out example

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Altitude] Need for JSON-in / JSON-out example

Hannes Hirzel
On 9/14/12, Frank Shearar <[hidden email]> wrote:
[snip]
> Not that I've actually touched Reflect-Core in a while, but my
> intention was to have a RESTful JSON-in-JSON-out API:

POST /something/
> {"stuff":"here"}

to add something, and so on.

I hadn't thought about
> forms in the slightest, mainly because I don't care about HTML.

Yes, I think as well that this would be another useful example to
have. A Altitude applicatoin which acceptes some JSON input and
produces some JSON output (like solutions done with couchDB or
node.js)

It can serve as a solution example for many types of problems.

But first I have to look and digest the Form example Colin did.... As
for me there is no need to hurry.

--Hannes

Reply | Threaded
Open this post in threaded view
|

Re: [Altitude] Need for JSON-in / JSON-out example

Frank Shearar-3
On 14 September 2012 12:08, H. Hirzel <[hidden email]> wrote:

> On 9/14/12, Frank Shearar <[hidden email]> wrote:
> [snip]
>> Not that I've actually touched Reflect-Core in a while, but my
>> intention was to have a RESTful JSON-in-JSON-out API:
>
> POST /something/
>> {"stuff":"here"}
>
> to add something, and so on.
>
> I hadn't thought about
>> forms in the slightest, mainly because I don't care about HTML.
>
> Yes, I think as well that this would be another useful example to
> have. A Altitude applicatoin which acceptes some JSON input and
> produces some JSON output (like solutions done with couchDB or
> node.js)

I thought I'd already done that? :)

frank

> It can serve as a solution example for many types of problems.
>
> But first I have to look and digest the Form example Colin did.... As
> for me there is no need to hurry.
>
> --Hannes
>

Reply | Threaded
Open this post in threaded view
|

Re: [Altitude] Need for JSON-in / JSON-out example

Frank Shearar-3
On 14 September 2012 12:21, Frank Shearar <[hidden email]> wrote:

> On 14 September 2012 12:08, H. Hirzel <[hidden email]> wrote:
>> On 9/14/12, Frank Shearar <[hidden email]> wrote:
>> [snip]
>>> Not that I've actually touched Reflect-Core in a while, but my
>>> intention was to have a RESTful JSON-in-JSON-out API:
>>
>> POST /something/
>>> {"stuff":"here"}
>>
>> to add something, and so on.
>>
>> I hadn't thought about
>>> forms in the slightest, mainly because I don't care about HTML.
>>
>> Yes, I think as well that this would be another useful example to
>> have. A Altitude applicatoin which acceptes some JSON input and
>> produces some JSON output (like solutions done with couchDB or
>> node.js)
>
> I thought I'd already done that? :)

Well, OK, I'd really only done the "JSON out" part.

> frank
>
>> It can serve as a solution example for many types of problems.
>>
>> But first I have to look and digest the Form example Colin did.... As
>> for me there is no need to hurry.
>>
>> --Hannes
>>

Reply | Threaded
Open this post in threaded view
|

Re: [Altitude] Need for JSON-in / JSON-out example

Hannes Hirzel
Yes, I think of an ALApplication which accepts a typical AJAX JSON
post operation

http://api.jquery.com/jQuery.post/

with data type JSON

And as you said, Frank, It does not need to be a web browser which
issues the http post command.

--Hannes



On 9/14/12, Frank Shearar <[hidden email]> wrote:

> On 14 September 2012 12:21, Frank Shearar <[hidden email]> wrote:
>> On 14 September 2012 12:08, H. Hirzel <[hidden email]> wrote:
>>> On 9/14/12, Frank Shearar <[hidden email]> wrote:
>>> [snip]
>>>> Not that I've actually touched Reflect-Core in a while, but my
>>>> intention was to have a RESTful JSON-in-JSON-out API:
>>>
>>> POST /something/
>>>> {"stuff":"here"}
>>>
>>> to add something, and so on.
>>>
>>> I hadn't thought about
>>>> forms in the slightest, mainly because I don't care about HTML.
>>>
>>> Yes, I think as well that this would be another useful example to
>>> have. A Altitude applicatoin which acceptes some JSON input and
>>> produces some JSON output (like solutions done with couchDB or
>>> node.js)
>>
>> I thought I'd already done that? :)
>
> Well, OK, I'd really only done the "JSON out" part.
>
>> frank
>>
>>> It can serve as a solution example for many types of problems.
>>>
>>> But first I have to look and digest the Form example Colin did.... As
>>> for me there is no need to hurry.
>>>
>>> --Hannes
>>>
>
>