Learning DeadCL DeadCL Tutorials DeadCL Syntax DeadCL MBS

Walk throughs

Author Keys Conversations Libraries Arrays

  Network Status Community Hub Contact Us



x-www-form-urlencoded
(CHAD)

View Parcel (CHAD) overview


The Basics

While Parcel is designed with JSON & XML in mind you can send requests using application/x-www-form-urlencoded should you need to.

The process is by large the same with one noticable difference; we must set our application type as X-WWW for application/x-www-form-urlencoded.


         

query.uk-london-1; PARCEL- X-WWW XW_sunrise X-WWW XW_sunset

Example - POST to endpoint

In this example we're sending the following to the remote endpoint using X-WWW(application/x-www-form-urlencoded).
         
{ sunrise=05:03:33AM&sunset=8:30:22PM }

Assign parameter values

Next we'll need to give XW_sunrise & XW_sunset a value, this is where either a linked Library or a Conversation comes into play.

This enable us to set the parameters POSTED as whatever $_sunrise & $_sunset are.
     
XW_sunrise; PARCEL- sunrise VAL_ $_sunrise XW_sunset; PARCEL- sunset VAL_ $_sunset